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