00001 00002 using namespace std; 00003 00004 #include <QString> 00005 00006 #include "mythcorecontext.h" 00007 #include "commandlineparser.h" 00008 00009 MythJobQueueCommandLineParser::MythJobQueueCommandLineParser() : 00010 MythCommandLineParser(MYTH_APPNAME_MYTHJOBQUEUE) 00011 { LoadArguments(); } 00012 00013 QString MythJobQueueCommandLineParser::GetHelpHeader(void) const 00014 { 00015 return "MythJobqueue is daemon implementing the job queue. It is intended \n" 00016 "for use as additional processing power without requiring a full backend."; 00017 } 00018 00019 void MythJobQueueCommandLineParser::LoadArguments(void) 00020 { 00021 addHelp(); 00022 addSettingsOverride(); 00023 addVersion(); 00024 addLogging(); 00025 addPIDFile(); 00026 addDaemon(); 00027 } 00028
1.6.3