Qmmp
Static Public Member Functions
CommandLineManager Class Reference

#include <commandlinemanager.h>

List of all members.

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 ()

Detailed Description

Helper class used for handle command line plugins.

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Member Function Documentation

static QString executeCommand ( const QString &  opt_str,
const QStringList &  args = QStringList() 
) [static]

Executes command opt_str

Parameters:
opt_strCommand line option string
argsCommand arguments
Returns:
Command output result
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


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Enumerator