summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/indi/apogee/ApogeeUsbErr.h
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/indi/apogee/ApogeeUsbErr.h')
-rw-r--r--kstars/kstars/indi/apogee/ApogeeUsbErr.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/kstars/kstars/indi/apogee/ApogeeUsbErr.h b/kstars/kstars/indi/apogee/ApogeeUsbErr.h
new file mode 100644
index 00000000..69ee4d3a
--- /dev/null
+++ b/kstars/kstars/indi/apogee/ApogeeUsbErr.h
@@ -0,0 +1,29 @@
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+// Error codes for the ApogeeUsb* files
+
+
+#define APN_USB_SUCCESS 0
+
+#define APN_USB_ERR_OPEN 1
+#define APN_USB_ERR_READ 2
+#define APN_USB_ERR_WRITE 3
+
+#define APN_USB_ERR_IMAGE_DOWNLOAD 4
+
+#define APN_USB_ERR_START_EXP 5
+#define APN_USB_ERR_STOP_EXP 6
+
+#define APN_USB_ERR_STATUS 7
+
+#define APN_USB_ERR_RESET 8
+
+
+
+