summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-06-23 11:06:59 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-06-23 11:06:59 (GMT)
commit64298f234d4751d094ef91833830337417404e82 (patch)
tree93a2ec8a1674353a6125787267699d326967bc4f /src/uscxml/Interpreter.h
parent0e0be07906a720ae54e4572d6ac0cb657424550d (diff)
downloaduscxml-64298f234d4751d094ef91833830337417404e82.zip
uscxml-64298f234d4751d094ef91833830337417404e82.tar.gz
uscxml-64298f234d4751d094ef91833830337417404e82.tar.bz2
Smaller bug-fixes and refactorings
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 0d7573c..c3cd7c4 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -42,50 +42,6 @@ class InterpreterMonitor;
class InterpreterImpl;
class InterpreterIssue;
-/**
- * @ingroup interpreter
- * Options to pass into an interpreter.
- */
-class USCXML_API InterpreterOptions {
-public:
- InterpreterOptions() :
- verbose(false),
- validate(false),
- withHTTP(true),
- withHTTPS(true),
- withWS(true),
- logLevel(0),
- httpPort(5080),
- httpsPort(5443),
- wsPort(5081) {
- }
-
- bool verbose;
- bool validate;
- bool withHTTP;
- bool withHTTPS;
- bool withWS;
- int logLevel;
- unsigned short httpPort;
- unsigned short httpsPort;
- unsigned short wsPort;
- std::string pluginPath;
- std::string certificate;
- std::string privateKey;
- std::string publicKey;
- std::vector<std::pair<std::string, InterpreterOptions*> > interpreters;
- std::map<std::string, std::string> additionalParameters;
-
- std::string error;
-
- operator bool() {
- return error.length() == 0;
- }
-
- static void printUsageAndExit(const char* progName);
- static InterpreterOptions fromCmdLine(int argc, char** argv);
-
-};
/**
* @ingroup interpreter