Add a 'list' option for the CLI

This commit addresses Issue #448 by adding a command line option that allows the listing of all the Apps reported by the remote host as a CSV.
This commit is contained in:
Anselm Busse
2022-08-25 22:18:00 -05:00
committed by Cameron Gutman
parent aca82f400a
commit de88176995
8 changed files with 361 additions and 0 deletions
+15
View File
@@ -13,6 +13,7 @@ public:
StreamRequested,
QuitRequested,
PairRequested,
ListRequested,
};
GlobalCommandLineParser();
@@ -72,3 +73,17 @@ private:
QMap<QString, StreamingPreferences::VideoDecoderSelection> m_VideoDecoderMap;
QMap<QString, StreamingPreferences::CaptureSysKeysMode> m_CaptureSysKeysModeMap;
};
class ListCommandLineParser
{
public:
ListCommandLineParser();
virtual ~ListCommandLineParser();
void parse(const QStringList &args);
QString getHost() const;
private:
QString m_Host;
};