Skip to content

Commit

Permalink
Add methods to CommandLineParser and CommandLineArg
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Jul 2, 2013
1 parent 4e64fb6 commit 98c828b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythbase/mythcommandlineparser.h
Expand Up @@ -29,6 +29,7 @@ class MBASE_PUBLIC CommandLineArg : public ReferenceCounter
void AddKeyword(QString keyword) { m_keywords << keyword; }

QString GetName(void) const { return m_name; }
QString GetUsedKeyword(void) const { return m_usedKeyword; }
int GetKeywordLength(void) const;
QString GetHelpString(int off, QString group = "",
bool force = false) const;
Expand Down Expand Up @@ -243,6 +244,7 @@ class MBASE_PUBLIC MythCommandLineParser
QString GetLogFilePath(void);
int GetSyslogFacility(void);
LogLevel_t GetLogLevel(void);
QString GetAppName(void) const { return m_appname; }

bool toBool(QString key) const;
int toInt(QString key) const;
Expand Down

0 comments on commit 98c828b

Please sign in to comment.