From 515a1723150c48becd8dca94a9e1d1f9f8b38131 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 24 Dec 2018 21:25:49 +0000 Subject: 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 --- src/qmmpui/commandlinemanager.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/qmmpui/commandlinemanager.h') 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 #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 *m_options; - static QHash *m_files; + static QList *m_options; + static QHash *m_files; }; #endif -- cgit v1.2.3-13-gbd6f