A set of input framework refactoring, cleanup, and polishing.

This commit is contained in:
Robin Sommer 2012-05-30 16:38:08 -07:00
parent 1416d5404d
commit fc907c0090
14 changed files with 162 additions and 168 deletions

View file

@ -6,6 +6,8 @@
#include "../threading/MsgThread.h"
#include "../threading/SerialTypes.h"
#include "ReaderBackend.h"
namespace input {
class Manager;
@ -50,7 +52,7 @@ public:
*
* This method must only be called from the main thread.
*/
void Init(string arg_source, int mode, const int arg_num_fields, const threading::Field* const* fields);
void Init(string arg_source, ReaderMode mode, const int arg_num_fields, const threading::Field* const* fields);
/**
* Force an update of the current input source. Actual action depends