diff 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
line wrap: on
line diff
--- a/main/MainWindow.h	Mon May 09 16:57:29 2011 +0100
+++ b/main/MainWindow.h	Tue May 10 13:58:59 2011 +0100
@@ -58,6 +58,7 @@
 class KeyReference;
 class Labeller;
 class ActivityLog;
+class QFileSystemWatcher;
 
 class MainWindow : public MainWindowBase
 {
@@ -227,6 +228,8 @@
     ActivityLog             *m_activityLog;
     KeyReference            *m_keyReference;
 
+    QFileSystemWatcher      *m_templateWatcher;
+
     struct LayerConfiguration {
 	LayerConfiguration(LayerFactory::LayerType _layer
 			                       = LayerFactory::TimeRuler,