From dca857498e15d000b6ba27dd07380302a47d1fcc Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 4 Mar 2010 11:56:59 +0000 Subject: improved command line support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1597 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/commandlineoption.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/qmmpui/commandlineoption.h') 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 @@ -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 */ -- cgit v1.2.3-13-gbd6f