From 05881204465655b9657891cddb195e37dd5dd020 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 11 Jun 2008 13:03:47 +0000 Subject: enabled command line plugins support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@401 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/qmmpstarter.h | 56 ++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'src/ui/qmmpstarter.h') diff --git a/src/ui/qmmpstarter.h b/src/ui/qmmpstarter.h index 010c5385f..022031b2a 100644 --- a/src/ui/qmmpstarter.h +++ b/src/ui/qmmpstarter.h @@ -27,47 +27,47 @@ class UnixDomainSocket; class MainWindow; -class CommandLineOptionManager; +class BuiltinCommandLineOption; /*! - * QMMPStarter represents wrapper object that is responsible - * for proper QMMP initialization(only one instance of running + * QMMPStarter represents wrapper object that is responsible + * for proper QMMP initialization(only one instance of running * MainWindow) and passing command line args to application. * @author Vladimir Kuznetsov */ class QMMPStarter : public QObject { -Q_OBJECT + Q_OBJECT public: QMMPStarter(int argc,char ** argv,QObject* parent = 0); - ~QMMPStarter(); + ~QMMPStarter(); protected slots: - - /*! - * Passes command args to the running application - */ - void writeCommand(); - - void readCommand(); + + /*! + * Passes command args to the running application + */ + void writeCommand(); + + void readCommand(); private: - /*! - * Prints usage - */ - void printUsage(); - - /*! - * Prints version of program - */ - void printVersion(); - - void startMainWindow(); + /*! + * Prints usage + */ + void printUsage(); + + /*! + * Prints version of program + */ + void printVersion(); + + void startMainWindow(); private: - MainWindow* mw; - UnixDomainSocket* m_sock; - QString argString; - CommandLineOptionManager* m_option_manager; + MainWindow* mw; + UnixDomainSocket* m_sock; + QString argString; + BuiltinCommandLineOption* m_option_manager; }; -#endif +#endif -- cgit v1.2.3-13-gbd6f