Mercurial > hg > svapp
diff framework/MainWindowBase.h @ 161:f90e277d2876
* Somewhat better MIDI-based time instant timing
author | Chris Cannam |
---|---|
date | Wed, 25 Feb 2009 11:15:22 +0000 |
parents | 64b09e5bda21 |
children | c17284397aa9 |
line wrap: on
line diff
--- a/framework/MainWindowBase.h Tue Feb 24 17:25:55 2009 +0000 +++ b/framework/MainWindowBase.h Wed Feb 25 11:15:22 2009 +0000 @@ -27,6 +27,7 @@ #include "view/ViewManager.h" #include "base/PropertyContainer.h" #include "base/RecentFiles.h" +#include "base/FrameTimer.h" #include "layer/LayerFactory.h" #include "transform/Transform.h" #include "SVFileReader.h" @@ -69,12 +70,12 @@ * to use different subclasses retaining the same general structure. */ -class MainWindowBase : public QMainWindow +class MainWindowBase : public QMainWindow, public FrameTimer { Q_OBJECT public: - MainWindowBase(bool withAudioOutput, bool withOSCSupport); + MainWindowBase(bool withAudioOutput, bool withOSCSupport, bool withMIDIInput); virtual ~MainWindowBase(); enum AudioFileOpenMode { @@ -104,6 +105,9 @@ virtual bool saveSessionFile(QString path); + /// Implementation of FrameTimer interface method + virtual unsigned long getFrame() const; + signals: // Used to toggle the availability of menu actions void canAddPane(bool);