[vlmc-devel] commit: Removing useless includes to MainWorkflow.h ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Mon Aug 23 00:22:35 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Mon Aug 23 00:07:35 2010 +0200| [99ae556756cd8d49515de4aaf5aab40b634b50b4] | committer: Hugo Beauzée-Luyssen
Removing useless includes to MainWorkflow.h
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=99ae556756cd8d49515de4aaf5aab40b634b50b4
---
src/EffectsEngine/EffectsEngine.cpp | 2 ++
src/EffectsEngine/EffectsEngine.h | 14 ++++++++++----
src/Gui/timeline/AbstractGraphicsMediaItem.h | 4 +++-
src/Gui/timeline/GraphicsCursorItem.h | 1 +
src/Gui/timeline/GraphicsTrack.h | 2 +-
src/Gui/timeline/Timeline.h | 16 ++++++++++------
src/Gui/timeline/TracksView.h | 2 +-
7 files changed, 28 insertions(+), 13 deletions(-)
diff --git a/src/EffectsEngine/EffectsEngine.cpp b/src/EffectsEngine/EffectsEngine.cpp
index d6bc16d..68bdff1 100644
--- a/src/EffectsEngine/EffectsEngine.cpp
+++ b/src/EffectsEngine/EffectsEngine.cpp
@@ -30,6 +30,8 @@
#include <QDesktopServices>
#include <QDir>
#include <QSettings>
+#include <QXmlStreamWriter>
+
#include <QtDebug>
EffectsEngine::EffectsEngine()
diff --git a/src/EffectsEngine/EffectsEngine.h b/src/EffectsEngine/EffectsEngine.h
index 90a3a41..fb78098 100644
--- a/src/EffectsEngine/EffectsEngine.h
+++ b/src/EffectsEngine/EffectsEngine.h
@@ -24,17 +24,23 @@
#define EFFECTSENGINE_H
#include "Singleton.hpp"
-
-class QTime;
-
#include "Effect.h"
-#include "MainWorkflow.h"
+
+namespace Workflow
+{
+ class Frame;
+}
class FilterInstance;
class MixerInstance;
+class QTime;
+class QXmlStreamWriter;
+
#include <QObject>
#include <QHash>
+#include <QUuid>
+
class QSettings;
diff --git a/src/Gui/timeline/AbstractGraphicsMediaItem.h b/src/Gui/timeline/AbstractGraphicsMediaItem.h
index 7eee9d2..dc83b4d 100644
--- a/src/Gui/timeline/AbstractGraphicsMediaItem.h
+++ b/src/Gui/timeline/AbstractGraphicsMediaItem.h
@@ -23,9 +23,11 @@
#ifndef ABSTRACTGRAPHICSMEDIAITEM_H
#define ABSTRACTGRAPHICSMEDIAITEM_H
+class ClipHelper;
+#include "Types.h"
+
#include <QGraphicsItem>
#include <QUuid>
-#include "MainWorkflow.h"
#define RESIZE_ZONE 7
diff --git a/src/Gui/timeline/GraphicsCursorItem.h b/src/Gui/timeline/GraphicsCursorItem.h
index 371fe4d..a5e3528 100644
--- a/src/Gui/timeline/GraphicsCursorItem.h
+++ b/src/Gui/timeline/GraphicsCursorItem.h
@@ -24,6 +24,7 @@
#define GRAPHICSCURSORITEM_H
#include "MainWorkflow.h"
+#include "Types.h"
#include <QObject>
#include <QGraphicsItem>
#include <QPen>
diff --git a/src/Gui/timeline/GraphicsTrack.h b/src/Gui/timeline/GraphicsTrack.h
index 92d8161..8e5d1e7 100644
--- a/src/Gui/timeline/GraphicsTrack.h
+++ b/src/Gui/timeline/GraphicsTrack.h
@@ -25,7 +25,7 @@
#include <QGraphicsWidget>
#include <QList>
-#include "MainWorkflow.h"
+#include "Types.h"
class AbstractGraphicsMediaItem;
diff --git a/src/Gui/timeline/Timeline.h b/src/Gui/timeline/Timeline.h
index cb1481e..dc38b6f 100644
--- a/src/Gui/timeline/Timeline.h
+++ b/src/Gui/timeline/Timeline.h
@@ -23,16 +23,20 @@
#ifndef TIMELINE_H
#define TIMELINE_H
+#include "ClipHelper.h"
#include "vlmc.h"
#include "ui_Timeline.h"
-#include "Workflow/MainWorkflow.h"
+#include "Types.h"
+
+#include <QDomElement>
#include <QXmlStreamWriter>
-class TracksScene;
-class TracksView;
-class TracksControls;
-class TracksRuler;
-class WorkflowRenderer;
+class MainWorkflow;
+class TracksScene;
+class TracksView;
+class TracksControls;
+class TracksRuler;
+class WorkflowRenderer;
/**
* \brief Entry point of the timeline widget.
diff --git a/src/Gui/timeline/TracksView.h b/src/Gui/timeline/TracksView.h
index 8a0f05a..8e61917 100644
--- a/src/Gui/timeline/TracksView.h
+++ b/src/Gui/timeline/TracksView.h
@@ -24,9 +24,9 @@
#define TRACKSVIEW_H
#include "vlmc.h"
-#include "MainWorkflow.h"
#include "AbstractGraphicsMediaItem.h"
#include "GraphicsCursorItem.h"
+#include "Types.h"
#include <QWidget>
#include <QGraphicsView>
More information about the Vlmc-devel
mailing list