Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
commandlineparser.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 #include <QStringList>
6 
7 class QApplication;
8 
9 namespace geometrize
10 {
11 
12 namespace cli
13 {
14 
20 bool shouldRunInSelfTestMode(const QStringList& arguments);
21 
27 bool shouldRunInConsoleMode(const QStringList& arguments);
28 
34 std::string getOverrideLocaleCode(const QStringList& arguments);
35 
42 int runApp(QApplication& app);
43 
44 }
45 
46 }
bool shouldRunInConsoleMode(const QStringList &arguments)
shouldRunInConsoleMode Checks whether the application should run in console mode for the given argume...
Definition: commandlineparser.cpp:86
std::string getOverrideLocaleCode(const QStringList &arguments)
getOverrideLocaleCode Gets the override locale code that the application should start up with...
Definition: commandlineparser.cpp:93
int runApp(QApplication &app)
runApp Runs the application in console mode. Note that since Windows does not support dual-mode appli...
Definition: commandlineparser.cpp:104
bool shouldRunInSelfTestMode(const QStringList &arguments)
shouldRunInSelfTestMode Checks whether the application should run in automated self-test/functional t...
Definition: commandlineparser.cpp:79