diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-07-02 09:09:24 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-07-02 09:09:24 +0000 |
| commit | 87208d0c0953b953136b22e3d4f342984f0c138a (patch) | |
| tree | 84c8ea7d1e80b7358b653275b34482c697723554 /src/app/qmmpstarter.h | |
| parent | 34faa3ac3680c23df0c851fded8df2181dcb1e99 (diff) | |
| download | qmmp-87208d0c0953b953136b22e3d4f342984f0c138a.tar.gz qmmp-87208d0c0953b953136b22e3d4f342984f0c138a.tar.bz2 qmmp-87208d0c0953b953136b22e3d4f342984f0c138a.zip | |
fixed playback resume feature
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2258 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/app/qmmpstarter.h')
| -rw-r--r-- | src/app/qmmpstarter.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/app/qmmpstarter.h b/src/app/qmmpstarter.h index 95596ea49..6758b1557 100644 --- a/src/app/qmmpstarter.h +++ b/src/app/qmmpstarter.h @@ -27,7 +27,8 @@ class QLocalServer; class QLocalSocket; -class MainWindow; +class MediaPlayer; +class SoundCore; class BuiltinCommandLineOption; /*! @@ -44,12 +45,13 @@ public: ~QMMPStarter(); -protected slots: +private slots: /*! * Passes command args to the running application */ void writeCommand(); void readCommand(); + void savePosition(); private: QString processCommandArgs(const QStringList &list,const QString& cwd); @@ -57,16 +59,16 @@ private: * Prints usage */ void printUsage(); - /*! * Prints version of program */ void printVersion(); - - void startMainWindow(); + void startPlayer(); private: - //MainWindow* mw; + MediaPlayer *m_player; + SoundCore *m_core; + QObject *m_ui; QString argString; BuiltinCommandLineOption* m_option_manager; QLocalServer *m_server; |
