382 changes: 380 additions & 2 deletions mythtv/libs/libmythbase/mythcommandlineparser.cpp

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions mythtv/libs/libmythbase/mythcommandlineparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,26 @@ class MBASE_PUBLIC CommandLineArg : public ReferenceCounter
void Set(QVariant val) { m_stored = val;
m_given = true; }

CommandLineArg* SetParent(QString opt);
CommandLineArg* SetParent(QStringList opts);
CommandLineArg* SetParentOf(QString opt);
CommandLineArg* SetParentOf(QStringList opts);

CommandLineArg* SetChild(QString opt);
CommandLineArg* SetChild(QStringList opt);
CommandLineArg* SetChildOf(QString opt);
CommandLineArg* SetChildOf(QStringList opts);

CommandLineArg* SetRequiredChild(QString opt);
CommandLineArg* SetRequiredChild(QStringList opt);
CommandLineArg* SetRequiredChildOf(QString opt);
CommandLineArg* SetRequiredChildOf(QStringList opt);

CommandLineArg* SetRequires(QString opt);
CommandLineArg* SetRequires(QStringList opts);
CommandLineArg* SetBlocks(QString opt);
CommandLineArg* SetBlocks(QStringList opts);

CommandLineArg* SetDeprecated(QString depstr = "");

static void AllowOneOf(QList<CommandLineArg*> args);
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// Update this whenever the plug-in API changes.
/// Including changes in the libmythbase, libmyth, libmythtv, libmythav* and
/// libmythui class methods used by plug-ins.
#define MYTH_BINARY_VERSION "0.25.20111018-3"
#define MYTH_BINARY_VERSION "0.25.20111023-1"

/** \brief Increment this whenever the MythTV network protocol changes.
*
Expand Down