diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-03-05 17:40:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-03-05 17:40:01 +0000 |
| commit | 2f376a7ebcfc4103b50c523eff7655f619c77353 (patch) | |
| tree | 219a408556740105141949a920bda942441e7f0d /src/qmmpui/commandlineoption.h | |
| parent | f731ee7de3fe936c65349d70650fe90045e79c8e (diff) | |
| download | qmmp-2f376a7ebcfc4103b50c523eff7655f619c77353.tar.gz qmmp-2f376a7ebcfc4103b50c523eff7655f619c77353.tar.bz2 qmmp-2f376a7ebcfc4103b50c523eff7655f619c77353.zip | |
changed command line api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7069 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/commandlineoption.h')
| -rw-r--r-- | src/qmmpui/commandlineoption.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/qmmpui/commandlineoption.h b/src/qmmpui/commandlineoption.h index b84a5cbe5..2a1ad71e4 100644 --- a/src/qmmpui/commandlineoption.h +++ b/src/qmmpui/commandlineoption.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2009 by Ilya Kotov * + * Copyright (C) 2008-2017 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -37,15 +37,16 @@ public: * Returns \b true if \b opt_str string can be processed, * otherise \b false */ - virtual bool identify(const QString& opt_str)const = 0; + virtual bool identify(const QString& opt_str) const = 0; /*! * Command line option name */ - virtual const QString name()const = 0; + virtual const QString name() const = 0; /*! - * Help string. + * A list of specially formatted help strings. + * Example: "--help||Display this text and exit". */ - virtual const QString helpString()const = 0; + virtual const QStringList helpString() const = 0; /*! * Parses \b opt_str args(if needed), executes command. * @param opt_str Command to execute |
