summaryrefslogtreecommitdiff
path: root/spectro/munki.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
commit22f703cab05b7cd368f4de9e03991b7664dc5022 (patch)
tree6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /spectro/munki.h
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'spectro/munki.h')
-rw-r--r--spectro/munki.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/spectro/munki.h b/spectro/munki.h
new file mode 100644
index 0000000..01eda29
--- /dev/null
+++ b/spectro/munki.h
@@ -0,0 +1,72 @@
+
+#ifndef MUNKI_H
+
+ /* X-Rite ColorMunki related defines */
+
+/*
+ * Argyll Color Correction System
+ *
+ * Author: Graeme W. Gill
+ * Date: 12/1/2009
+ *
+ * Copyright 2006 - 2013, Graeme W. Gill
+ * All rights reserved.
+ *
+ * This material is licenced under the GNU GENERAL PUBLIC LICENSE Version 2 or later :-
+ * see the License2.txt file for licencing details.
+ *
+ * (Based on i1pro.h)
+ */
+
+/*
+ If you make use of the instrument driver code here, please note
+ that it is the author(s) of the code who take responsibility
+ for its operation. Any problems or queries regarding driving
+ instruments with the Argyll drivers, should be directed to
+ the Argyll's author(s), and not to any other party.
+
+ If there is some instrument feature or function that you
+ would like supported here, it is recommended that you
+ contact Argyll's author(s) first, rather than attempt to
+ modify the software yourself, if you don't have firm knowledge
+ of the instrument communicate protocols. There is a chance
+ that an instrument could be damaged by an incautious command
+ sequence, and the instrument companies generally cannot and
+ will not support developers that they have not qualified
+ and agreed to support.
+ */
+
+#include "inst.h"
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/* MUNKI communication object */
+struct _munki {
+ INST_OBJ_BASE
+
+ int dtype; /* Device type: 0 = ?? */
+
+ /* *** munki private data **** */
+ inst_mode cap; /* Instrument mode capability */
+ inst2_capability cap2; /* Instrument capability 2 */
+ inst3_capability cap3; /* Instrument capability 3 */
+
+ void *m; /* Implementation - munkiimp type */
+
+ /* Other state */
+ int led_state; /* : Current LED on/off state */
+ double led_period, led_on_time_prop, led_trans_time_prop; /* Pulse state */
+
+}; typedef struct _munki munki;
+
+/* Constructor */
+extern munki *new_munki(icoms *icom, instType itype);
+
+#ifdef __cplusplus
+ }
+#endif
+
+#define MUNKI_H
+#endif /* MUNKI_H */