From dca857498e15d000b6ba27dd07380302a47d1fcc Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 4 Mar 2010 11:56:59 +0000 Subject: improved command line support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1597 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/generalhandler.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/qmmpui/generalhandler.h') 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 #include #include +#include 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. -- cgit v1.2.3-13-gbd6f