* Add quit cli command and app quit option after stream session. Fixes #92 * Code review fixes.
This commit is contained in:
parent
ad47990a87
commit
0ab07303c9
22 changed files with 678 additions and 67 deletions
|
|
@ -11,6 +11,7 @@ public:
|
|||
enum ParseResult {
|
||||
NormalStartRequested,
|
||||
StreamRequested,
|
||||
QuitRequested,
|
||||
};
|
||||
|
||||
GlobalCommandLineParser();
|
||||
|
|
@ -20,6 +21,20 @@ public:
|
|||
|
||||
};
|
||||
|
||||
class QuitCommandLineParser
|
||||
{
|
||||
public:
|
||||
QuitCommandLineParser();
|
||||
virtual ~QuitCommandLineParser();
|
||||
|
||||
void parse(const QStringList &args);
|
||||
|
||||
QString getHost() const;
|
||||
|
||||
private:
|
||||
QString m_Host;
|
||||
};
|
||||
|
||||
class StreamCommandLineParser
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue