CommandLineManager Class Reference

Helper class used for handle command line plugins. More...

#include <commandlinemanager.h>

Inheritance diagram for CommandLineManager:

General

List of all members.

Public Member Functions

 CommandLineManager (QObject *parent=0)
 ~CommandLineManager ()
void executeCommand (const QString &opt_str, const QStringList &args=QStringList())

Static Public Member Functions

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>

Constructor & Destructor Documentation

CommandLineManager::CommandLineManager ( QObject *  parent = 0  ) 

Constructs a command line manager.

Parameters:
parent QObject parent

CommandLineManager::~CommandLineManager (  ) 

Object destructor.


Member Function Documentation

void CommandLineManager::executeCommand ( const QString &  opt_str,
const QStringList &  args = QStringList() 
)

Executes command opt_str

Parameters:
opt_str Command line option string
args Command arguments

static bool CommandLineManager::hasOption ( const QString &  opt_str  )  [static]

Return true if command opt_str is supported, otherwise returns false

static void CommandLineManager::printUsage (  )  [static]

Prints usage to stdout


The documentation for this class was generated from the following file:

Generated on Sat Mar 27 19:43:00 2010 for Qmmp by  doxygen 1.5.9