comparison main/MainWindow.h @ 426:72a2b4210e50 templating

Add filesystem watcher to recreate template menu when templates change; start implementing save-session-as-template
author Chris Cannam
date Tue, 10 May 2011 13:58:59 +0100
parents eaab4c65c7bc
children 586eb6764a2b
comparison
equal deleted inserted replaced
425:eaab4c65c7bc 426:72a2b4210e50
56 class OSCQueue; 56 class OSCQueue;
57 class OSCMessage; 57 class OSCMessage;
58 class KeyReference; 58 class KeyReference;
59 class Labeller; 59 class Labeller;
60 class ActivityLog; 60 class ActivityLog;
61 class QFileSystemWatcher;
61 62
62 class MainWindow : public MainWindowBase 63 class MainWindow : public MainWindowBase
63 { 64 {
64 Q_OBJECT 65 Q_OBJECT
65 66
225 QPointer<LayerTreeDialog> m_layerTreeDialog; 226 QPointer<LayerTreeDialog> m_layerTreeDialog;
226 227
227 ActivityLog *m_activityLog; 228 ActivityLog *m_activityLog;
228 KeyReference *m_keyReference; 229 KeyReference *m_keyReference;
229 230
231 QFileSystemWatcher *m_templateWatcher;
232
230 struct LayerConfiguration { 233 struct LayerConfiguration {
231 LayerConfiguration(LayerFactory::LayerType _layer 234 LayerConfiguration(LayerFactory::LayerType _layer
232 = LayerFactory::TimeRuler, 235 = LayerFactory::TimeRuler,
233 Model *_source = 0, 236 Model *_source = 0,
234 int _channel = -1) : 237 int _channel = -1) :