MythTV  master
mythmediaserver_commandlineparser.cpp
Go to the documentation of this file.
1 // Qt
2 #include <QString>
3 
4 // MythMediaServer
6 
8 
12 
14 {
15  return "MythMediaServer is a daemon implementing the backend file server.\n"
16  "It is intended to allow access to remote file storage on machines\n"
17  "that do not have tuners, and as such cannot run a backend.";
18 }
19 
21 {
22  addHelp();
23  addVersion();
25  addPIDFile();
26  addDaemon();
27  addLogging();
28 }
29 
MythMediaServerCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition: mythmediaserver_commandlineparser.cpp:20
MythCommandLineParser
Parent class for defining application command line parsers.
Definition: mythcommandlineparser.h:116
mythmediaserver_commandlineparser.h
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
MythMediaServerCommandLineParser::MythMediaServerCommandLineParser
MythMediaServerCommandLineParser()
Definition: mythmediaserver_commandlineparser.cpp:9
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
MythMediaServerCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition: mythmediaserver_commandlineparser.cpp:13
MYTH_APPNAME_MYTHMEDIASERVER
static constexpr const char * MYTH_APPNAME_MYTHMEDIASERVER
Definition: mythappname.h:17
mythappname.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition: mythcommandlineparser.cpp:2545
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