aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/commandlinemanager.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-12-24 21:25:49 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-12-24 21:25:49 +0000
commit515a1723150c48becd8dca94a9e1d1f9f8b38131 (patch)
treee6642ae149bcaaeb664085db37c147cfdd5ded65 /src/qmmpui/commandlinemanager.h
parent7dd05abe318e1026ab254ff70b4c84a9b46cfff9 (diff)
downloadqmmp-515a1723150c48becd8dca94a9e1d1f9f8b38131.tar.gz
qmmp-515a1723150c48becd8dca94a9e1d1f9f8b38131.tar.bz2
qmmp-515a1723150c48becd8dca94a9e1d1f9f8b38131.zip
changed command line plugin api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8530 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/commandlinemanager.h')
-rw-r--r--src/qmmpui/commandlinemanager.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qmmpui/commandlinemanager.h b/src/qmmpui/commandlinemanager.h
index 5fecc7467..a57114ff2 100644
--- a/src/qmmpui/commandlinemanager.h
+++ b/src/qmmpui/commandlinemanager.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2018 by Ilya Kotov *
+ * Copyright (C) 2008-2019 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -22,7 +22,7 @@
#include <QHash>
#include "general.h"
-#include "commandlineoption.h"
+#include "commandlinehandler.h"
#include "qmmpui_export.h"
@@ -34,11 +34,11 @@ class QMMPUI_EXPORT CommandLineManager
public:
/*!
* Executes command \b opt_str.
- * @param opt_str Command line option string.
+ * @param name Command line option name.
* @param args Command arguments.
* @return Command output result.
*/
- static QString executeCommand(const QString& opt_str, const QStringList &args = QStringList());
+ static QString executeCommand(const QString& name, const QStringList &args = QStringList());
/*!
* Return \b true if command \b opt_str is supported, otherwise returns \b false.
*/
@@ -55,8 +55,8 @@ public:
private:
static void checkOptions();
- static QList<CommandLineOption *> *m_options;
- static QHash<CommandLineOption*, QString> *m_files;
+ static QList<CommandLineHandler *> *m_options;
+ static QHash<CommandLineHandler*, QString> *m_files;
};
#endif