00001 00002 using namespace std; 00003 00004 #include <QString> 00005 00006 #include "mythcorecontext.h" 00007 #include "commandlineparser.h" 00008 00009 MythMediaServerCommandLineParser::MythMediaServerCommandLineParser() : 00010 MythCommandLineParser(MYTH_APPNAME_MYTHMEDIASERVER) 00011 { LoadArguments(); } 00012 00013 QString MythMediaServerCommandLineParser::GetHelpHeader(void) const 00014 { 00015 return "MythMediaServer is a daemon implementing the backend file server.\n" 00016 "It is intended to allow access to remote file storage on machines\n" 00017 "that do not have tuners, and as such cannot run a backend."; 00018 } 00019 00020 void MythMediaServerCommandLineParser::LoadArguments(void) 00021 { 00022 addHelp(); 00023 addVersion(); 00024 addSettingsOverride(); 00025 addPIDFile(); 00026 addDaemon(); 00027 addLogging(); 00028 } 00029
1.6.3