Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+46
@@ -0,0 +1,46 @@
|
||||
#include "cmdlineparser.h"
|
||||
#include "nglsettings.h"
|
||||
|
||||
|
||||
CmdLineParser::CmdLineParser()
|
||||
: QCommandLineParser()
|
||||
, m_portCount(0)
|
||||
, m_showPort(false)
|
||||
, m_window(false)
|
||||
{
|
||||
}
|
||||
|
||||
CmdLineParser::~CmdLineParser()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool CmdLineParser::init()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void CmdLineParser::setWindow(bool state)
|
||||
{
|
||||
m_window = state;
|
||||
}
|
||||
|
||||
void CmdLineParser::setMode(const QString &mode)
|
||||
{
|
||||
m_mode = mode;
|
||||
}
|
||||
|
||||
void CmdLineParser::setImagePath(const QString &path)
|
||||
{
|
||||
m_imagePath = path;
|
||||
}
|
||||
|
||||
void CmdLineParser::setShowPort(bool port)
|
||||
{
|
||||
m_showPort = port;
|
||||
}
|
||||
|
||||
void CmdLineParser::setPortCount(int count)
|
||||
{
|
||||
m_portCount = count;
|
||||
}
|
||||
Reference in new issue
Block a user