[vlmc-devel] commit: MediaListView: Use forward declarations (Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Tue Mar 16 02:34:10 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Tue Mar 16 02:31:51 2010 +0100| [e4c282aba8b4146a6a879e26eee198898d83065f] | committer: Hugo Beauzee-Luyssen 

MediaListView: Use forward declarations

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=e4c282aba8b4146a6a879e26eee198898d83065f
---

 src/Gui/library/MediaListView.cpp |    2 ++
 src/Gui/library/MediaListView.h   |   13 +++++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/Gui/library/MediaListView.cpp b/src/Gui/library/MediaListView.cpp
index a4c80c5..5ac8f6e 100644
--- a/src/Gui/library/MediaListView.cpp
+++ b/src/Gui/library/MediaListView.cpp
@@ -23,7 +23,9 @@
 #include "MediaListView.h"
 
 #include "Clip.h"
+#include "MediaCellView.h"
 #include "MediaContainer.h"
+#include "StackViewController.h"
 
 MediaListView::MediaListView( StackViewController* nav, MediaContainer* mc ) :
         ListViewController( nav ),
diff --git a/src/Gui/library/MediaListView.h b/src/Gui/library/MediaListView.h
index 58e7c52..3d967b5 100644
--- a/src/Gui/library/MediaListView.h
+++ b/src/Gui/library/MediaListView.h
@@ -24,13 +24,18 @@
 #ifndef MEDIALISTVIEW_H
 #define MEDIALISTVIEW_H
 
-#include "StackViewController.h"
 #include "ListViewController.h"
-#include "MediaCellView.h"
-#include "Library.h"
-#include "Media.h"
 
+#include <QHash>
+#include <QUuid>
+
+class   Clip;
+class   Media;
 class   MediaContainer;
+class   MediaCellView;
+class   StackViewController;
+
+class   QWidget;
 
 class MediaListView : public ListViewController
 {



More information about the Vlmc-devel mailing list