diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-06-11 13:03:47 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-06-11 13:03:47 +0000 |
| commit | 05881204465655b9657891cddb195e37dd5dd020 (patch) | |
| tree | 1ed20dadbc38f361dda65e2771bddd71a4a599f5 /src/ui/qmmpstarter.h | |
| parent | da088637dea9ba5aed112e88deb933201de8947a (diff) | |
| download | qmmp-05881204465655b9657891cddb195e37dd5dd020.tar.gz qmmp-05881204465655b9657891cddb195e37dd5dd020.tar.bz2 qmmp-05881204465655b9657891cddb195e37dd5dd020.zip | |
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
Diffstat (limited to 'src/ui/qmmpstarter.h')
| -rw-r--r-- | src/ui/qmmpstarter.h | 56 |
1 files changed, 28 insertions, 28 deletions
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 <vovanec@gmail.com> */ 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 |
