|
From: CVS C. to T. <the...@li...> - 2011-06-04 23:34:58
|
Revision: 655
http://themis.svn.sourceforge.net/themis/?rev=655&view=rev
Author: mark_hellegers
Date: 2011-06-04 23:34:50 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
Fixed the includes, so the impact of a change in TPictureButton.h causes less recompiles.
Modified Paths:
--------------
trunk/themis/framework/ThemisNavView.cpp
trunk/themis/framework/ThemisNavView.h
trunk/themis/framework/ThemisTabView.cpp
trunk/themis/framework/ThemisTabView.h
trunk/themis/framework/win.cpp
Modified: trunk/themis/framework/ThemisNavView.cpp
===================================================================
--- trunk/themis/framework/ThemisNavView.cpp 2011-06-04 23:19:10 UTC (rev 654)
+++ trunk/themis/framework/ThemisNavView.cpp 2011-06-04 23:34:50 UTC (rev 655)
@@ -6,9 +6,6 @@
#include <Picture.h>
#include <String.h>
-// Standard C++ headers
-#include <iostream>
-
// Themis headers
#include "ThemisIcons.h"
#include "ThemisUrlView.h"
@@ -16,6 +13,7 @@
#include "win.h"
#include "../common/commondefs.h"
#include "ThemisNavView.h"
+#include "TPictureButton.h"
ThemisNavView::ThemisNavView( BRect rect ) :
BView( rect, "THEMISNAVVIEW", B_FOLLOW_LEFT_RIGHT, B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE )
Modified: trunk/themis/framework/ThemisNavView.h
===================================================================
--- trunk/themis/framework/ThemisNavView.h 2011-06-04 23:19:10 UTC (rev 654)
+++ trunk/themis/framework/ThemisNavView.h 2011-06-04 23:34:50 UTC (rev 655)
@@ -8,11 +8,9 @@
// C/C++ headers
-// myheaders
-#include "TPictureButton.h"
-
// Declarations used
class ThemisUrlView;
+class TPictureButton;
class ThemisNavView : public BView
{
Modified: trunk/themis/framework/ThemisTabView.cpp
===================================================================
--- trunk/themis/framework/ThemisTabView.cpp 2011-06-04 23:19:10 UTC (rev 654)
+++ trunk/themis/framework/ThemisTabView.cpp 2011-06-04 23:34:50 UTC (rev 655)
@@ -33,6 +33,7 @@
#include "ThemisUrlPopUpWindow.h"
#include "../common/PrefsDefs.h"
#include "ThemisTabView.h"
+#include "TPictureButton.h"
ThemisTabView::ThemisTabView(
BRect frame,
Modified: trunk/themis/framework/ThemisTabView.h
===================================================================
--- trunk/themis/framework/ThemisTabView.h 2011-06-04 23:19:10 UTC (rev 654)
+++ trunk/themis/framework/ThemisTabView.h 2011-06-04 23:34:50 UTC (rev 655)
@@ -9,8 +9,8 @@
// C/C++ headers
-// myheaders
-#include "TPictureButton.h"
+// Declarations used
+class TPictureButton;
class ThemisTabView : public BTabView
{
Modified: trunk/themis/framework/win.cpp
===================================================================
--- trunk/themis/framework/win.cpp 2011-06-04 23:19:10 UTC (rev 654)
+++ trunk/themis/framework/win.cpp 2011-06-04 23:34:50 UTC (rev 655)
@@ -56,6 +56,7 @@
#include "../common/commondefs.h"
#include "../common/PrefsDefs.h"
#include "GlobalHistory.h"
+#include "TPictureButton.h"
#include "win.h"
extern plugman *PluginManager;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|