aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/commandlineoption.h
diff options
context:
space:
mode:
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
*/