aboutsummaryrefslogtreecommitdiff
path: root/src/symlink.hpp
diff options
context:
space:
mode:
authorBarattero Laurent <laurent@larueluberlu.net>2014-01-21 04:02:33 +0100
committerBarattero Laurent <laurent@larueluberlu.net>2014-01-21 04:02:33 +0100
commit98f60a7659f12e0474ecd3fed0632a059fb4133f (patch)
tree8f10736fec6777df15b70230489429d45978cd0f /src/symlink.hpp
parent6ed6128396063cc4d1676d41fb63517eb29162e4 (diff)
update to version 0.3.0
adds improved driver support for linux
Diffstat (limited to '')
-rw-r--r--src/symlink.hpp48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/symlink.hpp b/src/symlink.hpp
new file mode 100644
index 0000000..6bfe035
--- /dev/null
+++ b/src/symlink.hpp
@@ -0,0 +1,48 @@
+/*
+ * Filename: Symlink.hpp
+ *
+ * Description: Return a beautiful Symlink for udev
+ *
+ * Version: 0.3.0.1
+ * Created: 19/01/2014 14:51:08
+ * Revision: none
+ * Compiler: gcc
+ *
+ * Author: BARATTERO Laurent, laurentba<at>larueluberlu.net
+ * Organization: La rue Luberlu
+ */
+
+#ifndef Symlink_INC
+#define Symlink_INC
+
+#include <stdlib.h>
+#include <string>
+#include <exception>
+#include <sstream>
+#include <unistd.h>
+#include <iostream>
+
+/*
+ * Name: Symlink
+ * Description: Symlink declaration
+ */
+namespace Symlink
+{
+// extern uint16_t BALL;
+// extern uint16_t STAFF;
+// extern uint16_t CLUB;
+// extern uint16_t POI;
+
+
+
+// const uint32_t PROB_MASK;
+// const uint32_t NUM_MASK;
+
+ std::string getSym(std::string serial_str);
+ std::string whatProp(uint8_t id);
+ void badSerNum();
+
+ class Bad_Symlink{};
+}
+
+#endif /* ----- #ifndef symlink_INC ----- */