MythTV  master
mythjobqueue/commandlineparser.cpp
Go to the documentation of this file.
1 #include <QString>
2 
3 #include "mythcorecontext.h"
4 #include "commandlineparser.h"
5 
9 
11 {
12  return "MythJobqueue is daemon implementing the job queue. It is intended \n"
13  "for use as additional processing power without requiring a full backend.";
14 }
15 
17 {
18  addHelp();
20  addVersion();
21  addLogging();
22  addPIDFile();
23  addDaemon();
24 }
25 
commandlineparser.h
MythCommandLineParser
Parent class for defining application command line parsers.
Definition: mythcommandlineparser.h:116
MythJobQueueCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition: mythjobqueue/commandlineparser.cpp:10
MythJobQueueCommandLineParser::MythJobQueueCommandLineParser
MythJobQueueCommandLineParser()
Definition: mythjobqueue/commandlineparser.cpp:6
MythCommandLineParser::addPIDFile
void addPIDFile(void)
Canned argument definition for –pidfile.
Definition: mythcommandlineparser.cpp:2451
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition: mythcommandlineparser.cpp:2288
MythCommandLineParser::addLogging
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
Definition: mythcommandlineparser.cpp:2385
MYTH_APPNAME_MYTHJOBQUEUE
#define MYTH_APPNAME_MYTHJOBQUEUE
Definition: mythcorecontext.h:20
MythJobQueueCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition: mythjobqueue/commandlineparser.cpp:16
mythcorecontext.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition: mythcommandlineparser.cpp:2275
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition: mythcommandlineparser.cpp:2339
MythCommandLineParser::addDaemon
void addDaemon(void)
Canned argument definition for –daemon.
Definition: mythcommandlineparser.cpp:2327