refactor for better support with ch341 and other unreliable rs232 adapters

This commit is contained in:
David
2019-07-27 22:34:34 +10:00
parent c9ba895410
commit ccb999b8dc
28 changed files with 800 additions and 774 deletions
+17
View File
@@ -0,0 +1,17 @@
// inputparser.h
// @author iain
#ifndef INPUTPARSER_H
#define INPUTPARSER_H
#include <vector>
class InputParser {
std::vector <std::string> tokens;
public:
InputParser (int &argc, char **argv);
const std::string& getCmdOption(const std::string &option) const;
bool cmdOptionExists(const std::string &option) const;
};
#endif // ___INPUTPARSER_H