summaryrefslogtreecommitdiffstats
path: root/common_functions.h
diff options
context:
space:
mode:
authorAttila Veghelyi <aveghelyi@dension.com>2024-10-16 16:09:02 +0200
committerAttila Veghelyi <aveghelyi@dension.com>2024-10-16 16:09:02 +0200
commit14d0fa4556e81763fd2a1e8fe4870a746186595e (patch)
treea2a45614875d4d23e3b6c0116299495e47605239 /common_functions.h
parent5f686d5179d6a23a37378550b8c1122453d240c1 (diff)
downloadOpenProgrammer-14d0fa4556e81763fd2a1e8fe4870a746186595e.tar.gz
OpenProgrammer-14d0fa4556e81763fd2a1e8fe4870a746186595e.zip
Use common functions from one file - not works yet
Diffstat (limited to 'common_functions.h')
-rw-r--r--common_functions.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/common_functions.h b/common_functions.h
new file mode 100644
index 0000000..8521dd8
--- /dev/null
+++ b/common_functions.h
@@ -0,0 +1,17 @@
+#ifndef COMMON_FUNCTIONS_H
+#define COMMON_FUNCTIONS_H
+
+extern int skipV33check=0;
+extern char loadfileEE[512]="",savefileEE[512]="";
+extern int vid=0x1209,pid=0x5432;
+extern int DeviceDetected=0;
+extern int new_vid=0x1209,new_pid=0x5432;
+extern int old_vid=0x04D8,old_pid=0x0100;
+#if !defined _WIN32 && !defined __CYGWIN__ //Linux
+ extern char path[512]="";
+#endif
+#ifdef OPGUI
+ extern GtkWidget * b_V33check;
+#endif
+
+#endif // COMMON_FUNCTIONS_H