From 5717444b38b4f45ad185bbc6ea81cdb141befb8c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 18 Sep 2010 16:50:38 +0000 Subject: added --status and --nowplaying command line option (Closes issue 266) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1893 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/commandlineoption.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qmmpui/commandlineoption.h') diff --git a/src/qmmpui/commandlineoption.h b/src/qmmpui/commandlineoption.h index edbd40a5c..bd06cf0ee 100644 --- a/src/qmmpui/commandlineoption.h +++ b/src/qmmpui/commandlineoption.h @@ -50,8 +50,9 @@ public: * Parses \b opt_str args(if needed), executes command. * @param opt_str Command to execute * @param args Command arguments + * @return Command output */ - virtual void executeCommand(const QString &opt_str, const QStringList &args) = 0; + virtual QString executeCommand(const QString &opt_str, const QStringList &args) = 0; /*! * Creates translator with parent object \b parent */ -- cgit v1.2.3-13-gbd6f