Qmmp
|
#include <commandlinemanager.h>
Static Public Member Functions | |
static QString | executeCommand (const QString &opt_str, const QStringList &args=QStringList()) |
static bool | hasOption (const QString &opt_str) |
static void | printUsage () |
Helper class used for handle command line plugins.
static QString executeCommand | ( | const QString & | opt_str, |
const QStringList & | args = QStringList() |
||
) | [static] |
Executes command opt_str
opt_str | Command line option string |
args | Command arguments |
static bool hasOption | ( | const QString & | opt_str | ) | [static] |
Return true if command opt_str is supported, otherwise returns false
static void printUsage | ( | ) | [static] |
Prints usage to stdout