MythTV
master
mythtv
programs
mythjobqueue
mythjobqueue_commandlineparser.cpp
Go to the documentation of this file.
1
#include <QString>
2
3
#include "
mythjobqueue_commandlineparser.h
"
4
5
#include "
libmythbase/mythappname.h
"
6
7
MythJobQueueCommandLineParser::MythJobQueueCommandLineParser
() :
8
MythCommandLineParser
(
MYTH_APPNAME_MYTHJOBQUEUE
)
9
{
MythJobQueueCommandLineParser::LoadArguments
(); }
10
11
QString
MythJobQueueCommandLineParser::GetHelpHeader
(
void
)
const
12
{
13
return
"MythJobqueue is daemon implementing the job queue. It is intended \n"
14
"for use as additional processing power without requiring a full backend."
;
15
}
16
17
void
MythJobQueueCommandLineParser::LoadArguments
(
void
)
18
{
19
addHelp
();
20
addSettingsOverride
();
21
addVersion
();
22
addLogging
();
23
addPIDFile
();
24
addDaemon
();
25
}
26
MythCommandLineParser
Parent class for defining application command line parsers.
Definition:
mythcommandlineparser.h:116
MythJobQueueCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition:
mythjobqueue_commandlineparser.cpp:11
MythJobQueueCommandLineParser::MythJobQueueCommandLineParser
MythJobQueueCommandLineParser()
Definition:
mythjobqueue_commandlineparser.cpp:7
MythCommandLineParser::addPIDFile
void addPIDFile(void)
Canned argument definition for –pidfile.
Definition:
mythcommandlineparser.cpp:2732
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition:
mythcommandlineparser.cpp:2558
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:2662
MythJobQueueCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition:
mythjobqueue_commandlineparser.cpp:17
mythjobqueue_commandlineparser.h
mythappname.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition:
mythcommandlineparser.cpp:2545
MYTH_APPNAME_MYTHJOBQUEUE
static constexpr const char * MYTH_APPNAME_MYTHJOBQUEUE
Definition:
mythappname.h:5
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition:
mythcommandlineparser.cpp:2609
MythCommandLineParser::addDaemon
void addDaemon(void)
Canned argument definition for –daemon.
Definition:
mythcommandlineparser.cpp:2597
Generated on Wed Feb 26 2025 03:18:06 for MythTV by
1.8.17