Mercurial > hg > svcore
diff base/ViewManager.h @ 75:163f3428bbe0
* Create temporary directory, cleaned up on exit, and use it to store
(inter alia) audio samples for the sample-player plugin.
* Ensure newly added layers always have unique names
* Make sure configure pairs for real-time plugins are stored in the
configuration Xml along with parameter & program settings
author | Chris Cannam |
---|---|
date | Mon, 10 Apr 2006 13:52:32 +0000 |
parents | 47fd14e29813 |
children | f277a171749d |
line wrap: on
line diff
--- a/base/ViewManager.h Fri Apr 07 17:50:33 2006 +0000 +++ b/base/ViewManager.h Mon Apr 10 13:52:32 2006 +0000 @@ -43,6 +43,7 @@ public: ViewManager(); + virtual ~ViewManager(); void setAudioPlaySource(AudioPlaySource *source); @@ -104,6 +105,8 @@ void setOverlayMode(OverlayMode mode); OverlayMode getOverlayMode() const { return m_overlayMode; } + QString getTemporaryDirectory(); + signals: /** Emitted when a widget pans. The originator identifies the widget. */ void centreFrameChanged(void *originator, unsigned long frame, bool locked); @@ -181,6 +184,9 @@ }; OverlayMode m_overlayMode; + + void deleteTemporaryDirectory(QString); + QString m_tmpdir; }; #endif