changeset 672:d4f908163c60

Cut down number of includes and predeclarations
author Chris Cannam
date Wed, 04 Dec 2013 16:48:08 +0000
parents d32374872c4a
children e6faa02020f0
files .hgsubstate main/MainWindow.h
diffstat 2 files changed, 6 insertions(+), 43 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Wed Dec 04 14:00:45 2013 +0000
+++ b/.hgsubstate	Wed Dec 04 16:48:08 2013 +0000
@@ -1,5 +1,5 @@
 236814e07bd07473958c1ff89103124536a0c3c8 dataquay
 3c5adc4a864fa75e5b1e67c260b77541aaa4f1f6 sv-dependency-builds
 47964f188bd9cb2a75ad5c3783a86db76950a392 svapp
-2010409af2039ef7c1e5a02d49b3f0c4a3bdddf3 svcore
+c2a399f9384327b2e20c8660c35002b2a73c1e66 svcore
 b81f21f2c4c3d1cb115e278a098ac4869fb7377f svgui
--- a/main/MainWindow.h	Wed Dec 04 14:00:45 2013 +0000
+++ b/main/MainWindow.h	Wed Dec 04 16:48:08 2013 +0000
@@ -16,52 +16,15 @@
 #ifndef _MAIN_WINDOW_H_
 #define _MAIN_WINDOW_H_
 
-#include <QFrame>
-#include <QString>
-#include <QUrl>
-#include <QPointer>
+#include "framework/MainWindowBase.h"
 
-#include "framework/MainWindowBase.h"
-#include "base/Command.h"
-#include "view/ViewManager.h"
-#include "base/PropertyContainer.h"
-#include "base/RecentFiles.h"
-#include "layer/LayerFactory.h"
-#include "transform/Transform.h"
-#include "framework/SVFileReader.h"
-#include "data/fileio/FileFinder.h"
-#include "data/fileio/FileSource.h"
-#include "widgets/LayerTreeDialog.h"
-#include <map>
+class VersionTester;
+class Surveyer;
+class LayerTreeDialog;
+class ActivityLog;
 
-class Document;
-class PaneStack;
-class Pane;
-class View;
-class Fader;
-class Overview;
-class Layer;
-class WaveformLayer;
-class WaveFileModel;
-class AudioCallbackPlaySource;
-class AudioCallbackPlayTarget;
-class CommandHistory;
-class QMenu;
-class AudioDial;
-class QLabel;
-class QCheckBox;
-class PreferencesDialog;
-class QTreeView;
-class QPushButton;
-class OSCQueue;
-class OSCMessage;
-class KeyReference;
-class Labeller;
-class ActivityLog;
 class QFileSystemWatcher;
 class QScrollArea;
-class VersionTester;
-class Surveyer;
 
 class MainWindow : public MainWindowBase
 {