aboutsummaryrefslogtreecommitdiff
path: root/src/optmanager.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/optmanager.hpp
parent6ed6128396063cc4d1676d41fb63517eb29162e4 (diff)
update to version 0.3.0
adds improved driver support for linux
Diffstat (limited to 'src/optmanager.hpp')
-rw-r--r--src/optmanager.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/optmanager.hpp b/src/optmanager.hpp
index 3252a91..2b89933 100644
--- a/src/optmanager.hpp
+++ b/src/optmanager.hpp
@@ -21,7 +21,7 @@
*
* Description:
*
- * Version: 0.2
+ * Version: 0.3.0.1
* Created: 23/12/2013 22:59:22
* Revision: none
* Compiler: gcc
@@ -39,9 +39,11 @@
#include <getopt.h>
#include <string>
#include <vector>
+
#include "global.hpp"
#include "ultimate.hpp"
#include "gloInterface.hpp"
+#include "symlink.hpp"
#define MAX_LEN_OPT 2
@@ -50,6 +52,7 @@
#define FLAG_UP_GLOC 0x4
#define FLAG_COLOR 0x8
#define FLAG_VERIFY 0x10
+#define FLAG_SYMLINK 0x20
/*
* Class: OptManager
@@ -74,6 +77,9 @@ class OptManager
void addItemVerify(std::string glo_file)
{verifyList.push_back(glo_file);}
+ void addItemSymlink(std::string port_name)
+ {symlinkList.push_back(port_name);}
+
void subRoutine(const short int FLAG);
private:
@@ -82,6 +88,7 @@ class OptManager
void sendStart(std::string port_name);
void sendColor(uint8_t red, uint8_t green, uint8_t blue, std::string port_name);
void sendGetSerial(std::string port_name);
+ void sendSymlink(std::string port_name);
void sendSetSerial(uint32_t i_serialNumber, std::string port);
void sendVerify(std::string fileName);
void sendUpGlo(std::string fileName, std::string port);
@@ -134,6 +141,7 @@ class OptManager
std::vector<std::string> verifyList;
std::vector<optSerial> setSerialList;
std::vector<std::string> getSerialList;
+ std::vector<std::string> symlinkList;
// end of Structures and variables for opts containers
}; /* ----- end of class OptManager ----- */