summaryrefslogtreecommitdiff
path: root/include/qhy/d5100.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qhy/d5100.h')
-rw-r--r--include/qhy/d5100.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/qhy/d5100.h b/include/qhy/d5100.h
new file mode 100644
index 0000000..321e189
--- /dev/null
+++ b/include/qhy/d5100.h
@@ -0,0 +1,38 @@
+/// @source Client.h
+/// @description Public interface for class Client.
+// See licensing information in the file README.TXT.
+
+// -----------------------------------------------------------------------------
+#ifndef __CLIENT_H__
+#define __CLIENT_H__
+// -----------------------------------------------------------------------------
+
+// includes
+
+#include <stdlib.h> // getenv (client_setLogDir)
+
+// -----------------------------------------------------------------------------
+#ifdef __cplusplus
+extern "C" {
+#endif
+// -----------------------------------------------------------------------------
+
+extern __declspec(dllexport) void SetIPAddress(char *address);
+extern __declspec(dllexport) int init_Cam(void *information);
+extern __declspec(dllexport) int set_Cam(int sc1,int sc2,int sc3);
+extern __declspec(dllexport) int start_Cap();
+extern __declspec(dllexport) int get_Img(unsigned char *ImageData);
+extern __declspec(dllexport) int reset_Cam();
+extern __declspec(dllexport) int cam_PowerOff();
+extern __declspec(dllexport) int get_PackegeNum(unsigned int *num);
+extern __declspec(dllexport) int getOnePackege(unsigned char *onePackege);
+extern __declspec(dllexport) int free_Cam();
+
+
+// -----------------------------------------------------------------------------
+#ifdef __cplusplus
+} // #ifdef __cplusplus
+#endif
+// -----------------------------------------------------------------------------
+#endif // __CLIENT_H__
+// -----------------------------------------------------------------------------