diff main/MainWindow.h @ 672:d4f908163c60

Cut down number of includes and predeclarations
author Chris Cannam
date Wed, 04 Dec 2013 16:48:08 +0000
parents 6f06094daba0
children bfd68cc71a25 73a5884a0975
line wrap: on
line diff
--- 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
 {