diff main/MainWindow.h @ 69:76cc2c424268

* Update the main sv.prf for compatibility with Qt 4.2 qmake instead of that from 4.1. Add a README.Qt41 describing how to build with 4.1 if preferred. * Add OSC support for control from external scripts etc (work in progress).
author Chris Cannam
date Fri, 10 Nov 2006 13:27:57 +0000
parents cf27fc7feb7a
children e269ae6ed008
line wrap: on
line diff
--- a/main/MainWindow.h	Tue Oct 24 11:15:51 2006 +0000
+++ b/main/MainWindow.h	Fri Nov 10 13:27:57 2006 +0000
@@ -48,6 +48,8 @@
 class QCheckBox;
 class PreferencesDialog;
 class QPushButton;
+class OSCQueue;
+class OSCMessage;
 
 
 class MainWindow : public QMainWindow
@@ -195,6 +197,9 @@
 
     void showLayerTree();
 
+    void pollOSC();
+    void handleOSCMessage(const OSCMessage &);
+
     void website();
     void help();
     void about();
@@ -219,6 +224,8 @@
     AudioCallbackPlaySource *m_playSource;
     AudioCallbackPlayTarget *m_playTarget;
 
+    OSCQueue                *m_oscQueue;
+
     RecentFiles              m_recentFiles;
     RecentFiles              m_recentTransforms;
 
@@ -281,6 +288,8 @@
 
     Pane *addPaneToStack();
 
+    void addPane(const PaneConfiguration &configuration, QString text);
+
     class PaneCallback : public SVFileReaderPaneCallback
     {
     public: