aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/commandlineoption.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-04 11:56:59 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-04 11:56:59 +0000
commitdca857498e15d000b6ba27dd07380302a47d1fcc (patch)
tree3a6e837a792b73ec7ce47418050a561431f5888f /src/qmmpui/commandlineoption.h
parentb65e2c52cca85895d8af0186cec2b32be4fc19b7 (diff)
downloadqmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.tar.gz
qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.tar.bz2
qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.zip
improved command line support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1597 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/commandlineoption.h')
-rw-r--r--src/qmmpui/commandlineoption.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qmmpui/commandlineoption.h b/src/qmmpui/commandlineoption.h
index 9799d063e..edbd40a5c 100644
--- a/src/qmmpui/commandlineoption.h
+++ b/src/qmmpui/commandlineoption.h
@@ -25,6 +25,7 @@ class CommandLineManager;
class QTranslator;
class QString;
class QObject;
+class QStringList;
/*! @brief Abstract base class of the command line plugins.
* @author Vladimir Kuznetsov <vovanec@gmail.ru>
@@ -47,8 +48,10 @@ public:
virtual const QString helpString()const = 0;
/*!
* Parses \b opt_str args(if needed), executes command.
+ * @param opt_str Command to execute
+ * @param args Command arguments
*/
- virtual void executeCommand(const QString& opt_str, CommandLineManager* clm) = 0;
+ virtual void executeCommand(const QString &opt_str, const QStringList &args) = 0;
/*!
* Creates translator with parent object \b parent
*/