diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-04 11:56:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-04 11:56:59 +0000 |
| commit | dca857498e15d000b6ba27dd07380302a47d1fcc (patch) | |
| tree | 3a6e837a792b73ec7ce47418050a561431f5888f /src/qmmpui/generalhandler.h | |
| parent | b65e2c52cca85895d8af0186cec2b32be4fc19b7 (diff) | |
| download | qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.tar.gz qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.tar.bz2 qmmp-dca857498e15d000b6ba27dd07380302a47d1fcc.zip | |
improved command line support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1597 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/generalhandler.h')
| -rw-r--r-- | src/qmmpui/generalhandler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qmmpui/generalhandler.h b/src/qmmpui/generalhandler.h index fa064f3ee..5d2e9cef0 100644 --- a/src/qmmpui/generalhandler.h +++ b/src/qmmpui/generalhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2009 by Ilya Kotov * + * Copyright (C) 2008-2010 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -24,6 +24,7 @@ #include <QMap> #include <QList> #include <QPointer> +#include <QStringList> class QAction; class QMenu; @@ -76,8 +77,9 @@ public: /*! * Executes command by command line plugins * @param opt_str Command line option string + * @param args Command arguments */ - void executeCommand(const QString &opt_str); + void executeCommand(const QString &opt_str, const QStringList &args = QStringList()); /*! * Adds the newly created action to the menu with type \b type. * Menu with type \b type should be created first. |
