From 98f60a7659f12e0474ecd3fed0632a059fb4133f Mon Sep 17 00:00:00 2001 From: Barattero Laurent Date: Tue, 21 Jan 2014 04:02:33 +0100 Subject: update to version 0.3.0 adds improved driver support for linux --- src/optmanager.cpp | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/optmanager.cpp') diff --git a/src/optmanager.cpp b/src/optmanager.cpp index 9ea843f..6a82787 100644 --- a/src/optmanager.cpp +++ b/src/optmanager.cpp @@ -27,7 +27,7 @@ * for the time being, the value is set to max. * we could test string before conversion. * - * Version: 0.2 + * Version: 0.3.0.1 * Created: 23/12/2013 23:31:46 * Revision: none * Compiler: gcc @@ -112,6 +112,13 @@ OptManager::start() sendGetSerial(*iter); } + // Symlink + for (vector::iterator iter = symlinkList.begin(); + iter != symlinkList.end(); ++iter) + { + sendSymlink(*iter); + } + // Set serial number for (vector::iterator iter = setSerialList.begin(); iter != setSerialList.end(); ++iter) @@ -178,6 +185,20 @@ OptManager::sendGetSerial( std::string port_name) } +/* + * Method: OptManager :: sendSymlink + */ + void +OptManager::sendSymlink( std::string port_name) +{ + string sym_out; + Ultimate prop(port_name); + string serial_number = prop.getSerial(); + sym_out = Symlink::getSym(serial_number); + cout << sym_out << endl; + + +} /* * Method: OptManager :: sendSetSerial */ -- cgit v1.2.3