Permalink
Browse files

remove unnecessary includes

  • Loading branch information...
spiff
spiff committed Jul 22, 2012
1 parent 58abd46 commit d074c5a1867f2f90bb1459e397d84633aab724b4
Showing with 21 additions and 57 deletions.
  1. +0 −1 xbmc/Autorun.cpp
  2. +0 −6 xbmc/GUIInfoManager.cpp
  3. +0 −1 xbmc/NfoFile.cpp
  4. +1 −9 xbmc/Util.cpp
  5. +0 −3 xbmc/addons/Addon.h
  6. +1 −0 xbmc/addons/AddonManager.cpp
  7. +1 −0 xbmc/addons/GUIDialogAddonSettings.cpp
  8. +2 −0 xbmc/addons/Scraper.cpp
  9. +0 −1 xbmc/cores/VideoRenderers/OverlayRendererUtil.cpp
  10. +0 −1 xbmc/cores/dvdplayer/DVDAudio.cpp
  11. +0 −1 xbmc/cores/dvdplayer/DVDDemuxSPU.cpp
  12. +0 −1 xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamNavigator.cpp
  13. +0 −1 xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
  14. +0 −1 xbmc/cores/dvdplayer/DVDSubtitles/DVDFactorySubtitle.cpp
  15. +2 −1 xbmc/cores/dvdplayer/DVDTSCorrection.cpp
  16. +2 −0 xbmc/cores/dvdplayer/DVDTSCorrection.h
  17. +0 −1 xbmc/cores/paplayer/DVDPlayerCodec.cpp
  18. +0 −1 xbmc/cores/paplayer/PAPlayer.cpp
  19. +0 −1 xbmc/dbwrappers/Database.cpp
  20. +0 −1 xbmc/guilib/GUIAudioManager.cpp
  21. +1 −0 xbmc/interfaces/json-rpc/FileItemHandler.cpp
  22. +0 −1 xbmc/interfaces/python/xbmcmodule/GUIPythonWindowDialog.cpp
  23. +0 −1 xbmc/interfaces/python/xbmcmodule/GUIPythonWindowXMLDialog.cpp
  24. +1 −1 xbmc/interfaces/python/xbmcmodule/dialog.cpp
  25. +1 −1 xbmc/interfaces/python/xbmcmodule/keyboard.cpp
  26. +0 −1 xbmc/music/dialogs/GUIDialogMusicInfo.cpp
  27. +0 −1 xbmc/music/dialogs/GUIDialogMusicOSD.cpp
  28. +0 −1 xbmc/music/dialogs/GUIDialogSongInfo.cpp
  29. +1 −1 xbmc/music/karaoke/GUIDialogKaraokeSongSelector.cpp
  30. +0 −1 xbmc/music/tags/FlacTag.cpp
  31. +0 −1 xbmc/music/tags/Id3Tag.cpp
  32. +0 −1 xbmc/music/tags/MusicInfoTagLoaderMP4.cpp
  33. +0 −1 xbmc/music/tags/MusicInfoTagLoaderWMA.cpp
  34. +1 −0 xbmc/music/windows/GUIWindowMusicNav.cpp
  35. +0 −1 xbmc/network/AirPlayServer.cpp
  36. +0 −1 xbmc/network/DNSNameCache.cpp
  37. +1 −0 xbmc/network/UPnP.cpp
  38. +1 −0 xbmc/network/httprequesthandler/HTTPWebinterfaceHandler.cpp
  39. +0 −1 xbmc/pictures/GUIViewStatePictures.cpp
  40. +0 −1 xbmc/powermanagement/linux/ConsoleDeviceKitPowerSyscall.cpp
  41. +0 −1 xbmc/powermanagement/linux/ConsoleUPowerSyscall.cpp
  42. +0 −1 xbmc/powermanagement/linux/HALPowerSyscall.cpp
  43. +0 −1 xbmc/programs/GUIViewStatePrograms.cpp
  44. +2 −0 xbmc/settings/GUIDialogContentSettings.cpp
  45. +0 −1 xbmc/settings/GUIWindowSettingsProfile.cpp
  46. +0 −1 xbmc/storage/MediaManager.cpp
  47. +0 −1 xbmc/utils/AliasShortcutUtils.cpp
  48. +0 −1 xbmc/video/GUIViewStateVideo.cpp
  49. +0 −1 xbmc/video/VideoInfoDownloader.cpp
  50. +0 −1 xbmc/video/dialogs/GUIDialogAudioSubtitleSettings.cpp
  51. +1 −0 xbmc/video/dialogs/GUIDialogVideoBookmarks.cpp
  52. +0 −1 xbmc/video/dialogs/GUIDialogVideoSettings.cpp
  53. +2 −0 xbmc/windows/GUIWindowDebugInfo.cpp
View
@@ -25,7 +25,6 @@
#include "Autorun.h"
#include "Application.h"
-#include "Util.h"
#include "GUIPassword.h"
#include "GUIUserMessages.h"
#include "PlayListPlayer.h"
View
@@ -21,8 +21,6 @@
#include "system.h"
#include "windows/GUIMediaWindow.h"
-#include "dialogs/GUIDialogFileBrowser.h"
-#include "settings/GUIDialogContentSettings.h"
#include "dialogs/GUIDialogProgress.h"
#include "Application.h"
#include "Util.h"
@@ -36,7 +34,6 @@
#ifdef HAS_LCD
#include "utils/LCD.h"
#endif
-#include "GUIPassword.h"
#include "LangInfo.h"
#include "utils/SystemInfo.h"
#include "guilib/GUITextBox.h"
@@ -60,9 +57,7 @@
#include "utils/SeekHandler.h"
// stuff for current song
-#include "music/tags/MusicInfoTagLoaderFactory.h"
#include "music/MusicInfoLoader.h"
-#include "utils/LabelFormatter.h"
#include "GUIUserMessages.h"
#include "video/dialogs/GUIDialogVideoInfo.h"
@@ -74,7 +69,6 @@
#include "addons/AddonManager.h"
#include "interfaces/info/InfoBool.h"
-#include "TextureCache.h"
#include "ThumbLoader.h"
#include "cores/AudioEngine/Utils/AEUtil.h"
View
@@ -27,7 +27,6 @@
#include "addons/AddonManager.h"
#include "filesystem/File.h"
#include "settings/GUISettings.h"
-#include "Util.h"
#include "FileItem.h"
#include "music/Album.h"
#include "music/Artist.h"
View
@@ -39,13 +39,11 @@
#endif
#include "Application.h"
-#include "utils/AutoPtrHandle.h"
#include "Util.h"
#include "addons/Addon.h"
-#include "storage/IoSupport.h"
+#include "filesystem/Directory.h"
#include "filesystem/StackDirectory.h"
#include "filesystem/MultiPathDirectory.h"
-#include "filesystem/DirectoryCache.h"
#include "filesystem/SpecialProtocol.h"
#include "filesystem/RSSDirectory.h"
#ifdef HAS_FILESYSTEM_RAR
@@ -63,9 +61,6 @@
#include "guilib/TextureManager.h"
#include "utils/fstrcmp.h"
#include "storage/MediaManager.h"
-#include "guilib/DirectXGraphics.h"
-#include "network/DNSNameCache.h"
-#include "guilib/GUIWindowManager.h"
#ifdef _WIN32
#include <shlobj.h>
#include "WIN32Util.h"
@@ -75,7 +70,6 @@
#endif
#include "GUIUserMessages.h"
#include "filesystem/File.h"
-#include "utils/Crc32.h"
#include "settings/Settings.h"
#include "utils/StringUtils.h"
#include "settings/AdvancedSettings.h"
@@ -92,7 +86,6 @@
#include "cores/dvdplayer/DVDSubtitles/DVDSubtitleTagSami.h"
#include "cores/dvdplayer/DVDSubtitles/DVDSubtitleStream.h"
#include "windowing/WindowingFactory.h"
-#include "video/VideoInfoTag.h"
#ifdef HAVE_LIBCAP
#include <sys/capability.h>
#endif
@@ -104,7 +97,6 @@ using namespace XFILE;
static const int64_t SECS_BETWEEN_EPOCHS = 11644473600LL;
static const int64_t SECS_TO_100NS = 10000000;
-using namespace AUTOPTR;
using namespace XFILE;
using namespace PLAYLIST;
View
@@ -23,11 +23,8 @@
#include "IAddon.h"
#include "addons/AddonVersion.h"
#include "utils/XBMCTinyXML.h"
-#include "Util.h"
-#include "URL.h"
#include "guilib/LocalizeStrings.h"
-class CURL;
class TiXmlElement;
typedef struct cp_plugin_info_t cp_plugin_info_t;
@@ -45,6 +45,7 @@
#include "Repository.h"
#include "Skin.h"
#include "Service.h"
+#include "Util.h"
using namespace std;
@@ -48,6 +48,7 @@
#include "dialogs/GUIDialogSelect.h"
#include "GUIWindowAddonBrowser.h"
#include "utils/log.h"
+#include "Util.h"
using namespace std;
using namespace ADDON;
View
@@ -39,6 +39,8 @@
#include "video/VideoDatabase.h"
#include "music/Album.h"
#include "music/Artist.h"
+#include "Util.h"
+
#include <sstream>
using namespace std;
@@ -24,7 +24,6 @@
#include "cores/dvdplayer/DVDCodecs/Overlay/DVDOverlayImage.h"
#include "cores/dvdplayer/DVDCodecs/Overlay/DVDOverlaySpu.h"
#include "cores/dvdplayer/DVDCodecs/Overlay/DVDOverlaySSA.h"
-#include "Application.h"
#include "windowing/WindowingFactory.h"
namespace OVERLAY {
@@ -22,7 +22,6 @@
#include "threads/SingleLock.h"
#include "utils/log.h"
#include "DVDAudio.h"
-#include "Util.h"
#include "DVDClock.h"
#include "DVDCodecs/DVDCodecs.h"
#include "DVDPlayerAudio.h"
@@ -20,7 +20,6 @@
*/
#include "DVDDemuxSPU.h"
-#include "Util.h"
#include "DVDClock.h"
#include "utils/log.h"
@@ -20,7 +20,6 @@
*/
#include "DVDInputStreamNavigator.h"
-#include "Util.h"
#include "utils/LangCodeExpander.h"
#include "../DVDDemuxSPU.h"
#include "DVDStateSerializer.h"
@@ -35,7 +35,6 @@
#include "DVDCodecs/Video/DVDVideoCodecFFmpeg.h"
#include "DVDDemuxers/DVDDemux.h"
#include "DVDDemuxers/DVDDemuxUtils.h"
-#include "../../Util.h"
#include "DVDOverlayRenderer.h"
#include "DVDPerformanceCounter.h"
#include "DVDCodecs/DVDCodecs.h"
@@ -29,7 +29,6 @@
#include "DVDSubtitleParserSami.h"
#include "DVDSubtitleParserSSA.h"
#include "DVDSubtitleParserVplayer.h"
-#include "Util.h"
#include "utils/log.h"
using namespace std;
@@ -19,12 +19,13 @@
*
*/
-#include "Util.h"
#include "DVDTSCorrection.h"
#include "DVDClock.h"
#include "DVDCodecs/DVDCodecUtils.h"
#include "utils/log.h"
+#include <cmath>
+
#define MAXERR DVD_MSEC_TO_TIME(2.5)
using namespace std;
@@ -23,6 +23,8 @@
#include <vector>
+#include "utils/StdString.h"
+
#define DIFFRINGSIZE 120
class CPullupCorrection
@@ -20,7 +20,6 @@
*/
#include "DVDPlayerCodec.h"
-#include "Util.h"
#include "cores/AudioEngine/Utils/AEUtil.h"
#include "cores/dvdplayer/DVDInputStreams/DVDFactoryInputStream.h"
@@ -22,7 +22,6 @@
#include "PAPlayer.h"
#include "CodecFactory.h"
#include "GUIInfoManager.h"
-#include "Application.h"
#include "FileItem.h"
#include "settings/AdvancedSettings.h"
#include "settings/GUISettings.h"
@@ -20,7 +20,6 @@
*/
#include "Database.h"
-#include "Util.h"
#include "settings/Settings.h"
#include "settings/AdvancedSettings.h"
#include "utils/Crc32.h"
@@ -31,7 +31,6 @@
#include "cores/AudioEngine/AEFactory.h"
using namespace std;
-using namespace XFILE;
CGUIAudioManager g_audioManager;
@@ -36,6 +36,7 @@
#include "filesystem/File.h"
#include "TextureCache.h"
#include "ThumbLoader.h"
+#include "Util.h"
using namespace MUSIC_INFO;
using namespace JSONRPC;
@@ -21,7 +21,6 @@
#include "GUIPythonWindowDialog.h"
#include "guilib/GUIWindowManager.h"
-#include "Application.h"
#include "threads/SingleLock.h"
CGUIPythonWindowDialog::CGUIPythonWindowDialog(int id)
@@ -21,7 +21,6 @@
#include "GUIPythonWindowXMLDialog.h"
#include "guilib/GUIWindowManager.h"
-#include "Application.h"
#include "threads/SingleLock.h"
CGUIPythonWindowXMLDialog::CGUIPythonWindowXMLDialog(int id, CStdString strXML, CStdString strFallBackPath)
@@ -21,7 +21,7 @@
#include "dialog.h"
-#include "Application.h"
+#include "ApplicationMessenger.h"
#include "settings/Settings.h"
#include "pyutil.h"
#include "pythreadstate.h"
@@ -24,7 +24,7 @@
#include "pyutil.h"
#include "guilib/GUIWindowManager.h"
#include "dialogs/GUIDialogKeyboard.h"
-#include "Application.h"
+#include "ApplicationMessenger.h"
using namespace std;
@@ -21,7 +21,6 @@
#include "GUIDialogMusicInfo.h"
#include "guilib/GUIWindowManager.h"
-#include "Util.h"
#include "guilib/GUIImage.h"
#include "dialogs/GUIDialogFileBrowser.h"
#include "GUIPassword.h"
@@ -20,7 +20,6 @@
*/
#include "GUIDialogMusicOSD.h"
-#include "Application.h"
#include "guilib/GUIWindowManager.h"
#include "input/MouseStat.h"
#include "GUIUserMessages.h"
@@ -20,7 +20,6 @@
*/
#include "GUIDialogSongInfo.h"
-#include "Util.h"
#include "utils/URIUtils.h"
#include "utils/StringUtils.h"
#include "dialogs/GUIDialogFileBrowser.h"
@@ -20,7 +20,7 @@
*/
#include "GUIDialogKaraokeSongSelector.h"
-#include "Application.h"
+#include "PlayListPlayer.h"
#include "playlists/PlayList.h"
#include "guilib/LocalizeStrings.h"
#include "utils/log.h"
@@ -21,7 +21,6 @@
#include "system.h"
#include "FlacTag.h"
-#include "Util.h"
#include "filesystem/File.h"
#include "utils/log.h"
#include "utils/EndianSwap.h"
@@ -20,7 +20,6 @@
*/
#include "Id3Tag.h"
-#include "Util.h"
#include "utils/StringUtils.h"
#include "settings/AdvancedSettings.h"
#include "guilib/LocalizeStrings.h"
@@ -20,7 +20,6 @@
*/
#include "MusicInfoTagLoaderMP4.h"
-#include "Util.h"
#include "id3v1genre.h"
#include "MusicInfoTag.h"
#include "guilib/LocalizeStrings.h"
@@ -20,7 +20,6 @@
*/
#include "MusicInfoTagLoaderWMA.h"
-#include "Util.h"
#include "MusicInfoTag.h"
#include "filesystem/File.h"
#include "settings/AdvancedSettings.h"
@@ -49,6 +49,7 @@
#include "utils/log.h"
#include "utils/StringUtils.h"
#include "TextureCache.h"
+#include "Util.h"
using namespace std;
using namespace XFILE;
@@ -29,7 +29,6 @@
#include "utils/StringUtils.h"
#include "threads/SingleLock.h"
#include "filesystem/File.h"
-#include "Util.h"
#include "FileItem.h"
#include "Application.h"
#include "utils/md5.h"
@@ -20,7 +20,6 @@
*/
#include "DNSNameCache.h"
-#include "Application.h"
#include "threads/SingleLock.h"
#include "utils/log.h"
View
@@ -59,6 +59,7 @@
#include "utils/md5.h"
#include "guilib/Key.h"
#include "ThumbLoader.h"
+#include "Util.h"
using namespace std;
using namespace MUSIC_INFO;
@@ -25,6 +25,7 @@
#include "utils/URIUtils.h"
#include "filesystem/Directory.h"
#include "filesystem/File.h"
+#include "Util.h"
#define DEFAULT_PAGE "index.html"
@@ -27,7 +27,6 @@
#include "settings/Settings.h"
#include "filesystem/Directory.h"
#include "filesystem/PluginDirectory.h"
-#include "Util.h"
#include "guilib/LocalizeStrings.h"
#include "guilib/Key.h"
Oops, something went wrong.

0 comments on commit d074c5a

Please sign in to comment.