summaryrefslogtreecommitdiff
path: root/include/qhy/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qhy/config.h')
-rw-r--r--include/qhy/config.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/include/qhy/config.h b/include/qhy/config.h
new file mode 100644
index 0000000..6f3a5bb
--- /dev/null
+++ b/include/qhy/config.h
@@ -0,0 +1,49 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+
+
+
+
+
+#define CALLBACK_MODE_SUPPORT 1
+#define IMAGEQUEUE_ORIG_MODE 1
+
+
+#define version_year 20
+#define version_month 7
+#define version_day 26
+#define version_subday 1
+
+#if defined (_WIN32)
+#define QHYCCD_OPENCV_SUPPORT
+#define WINDOWS_PTHREAD_SUPPORT 1
+#define WINPCAP_MODE_SUPPORT 0
+#define PCIE_MODE_SUPPORT 1
+#define CYUSB_MODE_SUPPORT 1
+#define WINUSB_MODE_SUPPORT 1
+#define LIBUSB_MODE_SUPPORT 0
+#define PCIE_MODE_TEST 1
+#else
+#undef QHYCCD_OPENCV_SUPPORT
+#define WINDOWS_PTHREAD_SUPPORT 0
+#define WINPCAP_MODE_SUPPORT 0
+
+#if defined(__arm__) || defined (__arm64__) || defined (__aarch64__) || defined(__APPLE__)||defined (__ANDROID__)
+#define PCIE_MODE_SUPPORT 0
+#elif defined(__i386__) || defined(__x86_64__)
+#define PCIE_MODE_SUPPORT 1
+#else
+#define PCIE_MODE_SUPPORT 0
+#endif
+
+
+#define CYUSB_MODE_SUPPORT 0
+#define WINUSB_MODE_SUPPORT 0
+#define LIBUSB_MODE_SUPPORT 1
+#endif
+
+
+
+#endif
+