MythTV
master
mythtv
programs
mythmediaserver
mythmediaserver_commandlineparser.cpp
Go to the documentation of this file.
1
// Qt
2
#include <QString>
3
4
// MythTV
5
#include "
libmythbase/mythcorecontext.h
"
6
7
// MythMediaServer
8
#include "
mythmediaserver_commandlineparser.h
"
9
10
MythMediaServerCommandLineParser::MythMediaServerCommandLineParser
() :
11
MythCommandLineParser
(
MYTH_APPNAME_MYTHMEDIASERVER
)
12
{
MythMediaServerCommandLineParser::LoadArguments
(); }
13
14
QString
MythMediaServerCommandLineParser::GetHelpHeader
(
void
)
const
15
{
16
return
"MythMediaServer is a daemon implementing the backend file server.\n"
17
"It is intended to allow access to remote file storage on machines\n"
18
"that do not have tuners, and as such cannot run a backend."
;
19
}
20
21
void
MythMediaServerCommandLineParser::LoadArguments
(
void
)
22
{
23
addHelp
();
24
addVersion
();
25
addSettingsOverride
();
26
addPIDFile
();
27
addDaemon
();
28
addLogging
();
29
}
30
MythMediaServerCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition:
mythmediaserver_commandlineparser.cpp:21
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:2726
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition:
mythcommandlineparser.cpp:2552
MythMediaServerCommandLineParser::MythMediaServerCommandLineParser
MythMediaServerCommandLineParser()
Definition:
mythmediaserver_commandlineparser.cpp:10
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:2656
MythMediaServerCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition:
mythmediaserver_commandlineparser.cpp:14
MYTH_APPNAME_MYTHMEDIASERVER
static constexpr const char * MYTH_APPNAME_MYTHMEDIASERVER
Definition:
mythcorecontext.h:32
mythcorecontext.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition:
mythcommandlineparser.cpp:2539
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition:
mythcommandlineparser.cpp:2603
MythCommandLineParser::addDaemon
void addDaemon(void)
Canned argument definition for –daemon.
Definition:
mythcommandlineparser.cpp:2591
Generated on Tue Feb 11 2025 03:17:01 for MythTV by
1.8.17