From 9e78efbb4d21a6821be64e5053defd99ed364aea Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sat, 28 Feb 2015 12:52:21 -0500 Subject: [PATCH] Tracker: delete un-needed #includes. All of these header files are already included by the .h file that corresponds to the .cpp file. --- src/kits/tracker/ContainerWindow.cpp | 1 - src/kits/tracker/EntryIterator.cpp | 1 - src/kits/tracker/FSUtils.cpp | 1 - src/kits/tracker/FavoritesMenu.cpp | 1 - src/kits/tracker/FilePanelPriv.cpp | 1 - src/kits/tracker/FindPanel.cpp | 1 - src/kits/tracker/Model.cpp | 1 - src/kits/tracker/Navigator.cpp | 1 - src/kits/tracker/Pose.cpp | 1 - src/kits/tracker/PoseList.cpp | 1 - src/kits/tracker/PoseView.cpp | 3 --- src/kits/tracker/SlowContextPopup.cpp | 1 - src/kits/tracker/TextWidget.cpp | 1 - src/kits/tracker/Tracker.cpp | 1 - src/kits/tracker/TrackerSettingsWindow.cpp | 1 - 15 files changed, 17 deletions(-) diff --git a/src/kits/tracker/ContainerWindow.cpp b/src/kits/tracker/ContainerWindow.cpp index 29169f504f..97346faf16 100644 --- a/src/kits/tracker/ContainerWindow.cpp +++ b/src/kits/tracker/ContainerWindow.cpp @@ -82,7 +82,6 @@ All rights reserved. #include "IconMenuItem.h" #include "OpenWithWindow.h" #include "MimeTypes.h" -#include "Model.h" #include "MountMenu.h" #include "Navigator.h" #include "NavMenu.h" diff --git a/src/kits/tracker/EntryIterator.cpp b/src/kits/tracker/EntryIterator.cpp index 1ecc2c2bdc..0f22b39640 100644 --- a/src/kits/tracker/EntryIterator.cpp +++ b/src/kits/tracker/EntryIterator.cpp @@ -42,7 +42,6 @@ All rights reserved. #include #include "EntryIterator.h" -#include "NodeWalker.h" // #pragma mark - TWalkerWrapper diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index 2223cc069a..a17a074be6 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -83,7 +83,6 @@ respective holders. All rights reserved. #include "FSUtils.h" #include "InfoWindow.h" #include "MimeTypes.h" -#include "Model.h" #include "OverrideAlert.h" #include "StatusWindow.h" #include "Thread.h" diff --git a/src/kits/tracker/FavoritesMenu.cpp b/src/kits/tracker/FavoritesMenu.cpp index d853ff8ae9..1763589b43 100644 --- a/src/kits/tracker/FavoritesMenu.cpp +++ b/src/kits/tracker/FavoritesMenu.cpp @@ -51,7 +51,6 @@ All rights reserved. #include #include "IconMenuItem.h" -#include "NavMenu.h" #include "PoseView.h" #include "QueryPoseView.h" #include "Tracker.h" diff --git a/src/kits/tracker/FilePanelPriv.cpp b/src/kits/tracker/FilePanelPriv.cpp index 65937d8fa9..50e80290a6 100644 --- a/src/kits/tracker/FilePanelPriv.cpp +++ b/src/kits/tracker/FilePanelPriv.cpp @@ -75,7 +75,6 @@ All rights reserved. #include "IconMenuItem.h" #include "MimeTypes.h" #include "NavMenu.h" -#include "PoseView.h" #include "Tracker.h" #include "Utilities.h" diff --git a/src/kits/tracker/FindPanel.cpp b/src/kits/tracker/FindPanel.cpp index 41269f99fb..b2e8899c41 100644 --- a/src/kits/tracker/FindPanel.cpp +++ b/src/kits/tracker/FindPanel.cpp @@ -84,7 +84,6 @@ All rights reserved. #include "IconMenuItem.h" #include "MimeTypes.h" #include "Tracker.h" -#include "Utilities.h" #undef B_TRANSLATION_CONTEXT diff --git a/src/kits/tracker/Model.cpp b/src/kits/tracker/Model.cpp index 89ff4bbb0e..094def5e3f 100644 --- a/src/kits/tracker/Model.cpp +++ b/src/kits/tracker/Model.cpp @@ -67,7 +67,6 @@ All rights reserved. #include "Bitmaps.h" #include "FindPanel.h" #include "FSUtils.h" -#include "IconCache.h" #include "MimeTypes.h" #include "Tracker.h" #include "Utilities.h" diff --git a/src/kits/tracker/Navigator.cpp b/src/kits/tracker/Navigator.cpp index c4ed58a2fe..cf4b1cdf8a 100644 --- a/src/kits/tracker/Navigator.cpp +++ b/src/kits/tracker/Navigator.cpp @@ -41,7 +41,6 @@ All rights reserved. #include "Bitmaps.h" #include "Commands.h" #include "FSUtils.h" -#include "Model.h" #include "Tracker.h" diff --git a/src/kits/tracker/Pose.cpp b/src/kits/tracker/Pose.cpp index a52d381558..6171bc3a0b 100644 --- a/src/kits/tracker/Pose.cpp +++ b/src/kits/tracker/Pose.cpp @@ -47,7 +47,6 @@ All rights reserved. #include "IconCache.h" #include "Pose.h" #include "PoseView.h" -#include "Utilities.h" int32 diff --git a/src/kits/tracker/PoseList.cpp b/src/kits/tracker/PoseList.cpp index 48e480000e..edaba3d696 100644 --- a/src/kits/tracker/PoseList.cpp +++ b/src/kits/tracker/PoseList.cpp @@ -38,7 +38,6 @@ All rights reserved. #include #include "PoseList.h" -#include "Pose.h" BPose* diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp index 0abbf1dacf..bf37a3d324 100644 --- a/src/kits/tracker/PoseView.cpp +++ b/src/kits/tracker/PoseView.cpp @@ -75,12 +75,10 @@ All rights reserved. #include #include "Attributes.h" -#include "AttributeStream.h" #include "AutoLock.h" #include "BackgroundImage.h" #include "Bitmaps.h" #include "Commands.h" -#include "ContainerWindow.h" #include "CountView.h" #include "Cursors.h" #include "DeskWindow.h" @@ -93,7 +91,6 @@ All rights reserved. #include "Navigator.h" #include "Pose.h" #include "InfoWindow.h" -#include "Utilities.h" #include "Tests.h" #include "Thread.h" #include "Tracker.h" diff --git a/src/kits/tracker/SlowContextPopup.cpp b/src/kits/tracker/SlowContextPopup.cpp index 31cbc84411..8876a97330 100644 --- a/src/kits/tracker/SlowContextPopup.cpp +++ b/src/kits/tracker/SlowContextPopup.cpp @@ -54,7 +54,6 @@ All rights reserved. #include "FSUtils.h" #include "FunctionObject.h" #include "IconMenuItem.h" -#include "NavMenu.h" #include "PoseView.h" #include "QueryPoseView.h" #include "SlowContextPopup.h" diff --git a/src/kits/tracker/TextWidget.cpp b/src/kits/tracker/TextWidget.cpp index 81b4be015b..58dc1acb6a 100644 --- a/src/kits/tracker/TextWidget.cpp +++ b/src/kits/tracker/TextWidget.cpp @@ -53,7 +53,6 @@ All rights reserved. #include "PoseView.h" #include "TextWidget.h" #include "Utilities.h" -#include "WidgetAttributeText.h" #undef B_TRANSLATION_CONTEXT diff --git a/src/kits/tracker/Tracker.cpp b/src/kits/tracker/Tracker.cpp index d98c594833..296ca4e698 100644 --- a/src/kits/tracker/Tracker.cpp +++ b/src/kits/tracker/Tracker.cpp @@ -83,7 +83,6 @@ All rights reserved. #include "TrackerSettingsWindow.h" #include "TaskLoop.h" #include "Thread.h" -#include "Utilities.h" #include "VirtualDirectoryWindow.h" diff --git a/src/kits/tracker/TrackerSettingsWindow.cpp b/src/kits/tracker/TrackerSettingsWindow.cpp index 033a6e792d..11470ef384 100644 --- a/src/kits/tracker/TrackerSettingsWindow.cpp +++ b/src/kits/tracker/TrackerSettingsWindow.cpp @@ -40,7 +40,6 @@ All rights reserved. #include #include -#include "SettingsViews.h" #include "TrackerSettings.h" #include "TrackerSettingsWindow.h"