00001 00002 using namespace std; 00003 00004 #include <QString> 00005 00006 #include "mythcorecontext.h" 00007 #include "commandlineparser.h" 00008 00009 MythWelcomeCommandLineParser::MythWelcomeCommandLineParser() : 00010 MythCommandLineParser(MYTH_APPNAME_MYTHWELCOME) 00011 { LoadArguments(); } 00012 00013 QString MythWelcomeCommandLineParser::GetHelpHeader(void) const 00014 { 00015 return "MythWelcome is a graphical launcher application to allow MythFrontend \n" 00016 "to disconnect from the backend, and allow automatic shutdown to occur."; 00017 } 00018 00019 void MythWelcomeCommandLineParser::LoadArguments(void) 00020 { 00021 addHelp(); 00022 addSettingsOverride(); 00023 addVersion(); 00024 addLogging(); 00025 00026 add(QStringList( QStringList() << "-s" << "--setup" ), "setup", false, 00027 "Run setup for mythshutdown.", ""); 00028 } 00029
1.6.3