From 68ec995d7e4903116127f7daa9745ee95c9b0978 Mon Sep 17 00:00:00 2001 From: "Chris \"Koying\" Browet" Date: Thu, 5 Feb 2015 12:27:24 +0100 Subject: [PATCH] C++11 win32 --- xbmc/GUIInfoManager.cpp | 1 + xbmc/addons/AddonInstaller.cpp | 2 ++ xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp | 2 ++ xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp | 1 + xbmc/cores/DllLoader/DllLoader.cpp | 1 + .../dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp | 2 ++ xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp | 2 ++ xbmc/cores/dvdplayer/DVDMessageQueue.h | 1 + xbmc/filesystem/CDDAFile.cpp | 2 ++ xbmc/filesystem/CacheStrategy.cpp | 1 + xbmc/filesystem/DirectoryCache.cpp | 2 ++ xbmc/filesystem/FileCache.cpp | 1 + xbmc/network/WebServer.cpp | 1 + xbmc/pictures/Picture.cpp | 2 ++ xbmc/pictures/PictureInfoTag.cpp | 1 + xbmc/utils/Fanart.cpp | 3 +++ xbmc/utils/JobManager.cpp | 2 +- xbmc/utils/StringUtils.cpp | 1 + 18 files changed, 27 insertions(+), 1 deletion(-) diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp index 58980398cb..4926644f1b 100644 --- a/xbmc/GUIInfoManager.cpp +++ b/xbmc/GUIInfoManager.cpp @@ -60,6 +60,7 @@ #include "URL.h" #include "addons/Skin.h" #include +#include #include "cores/DataCacheCore.h" // stuff for current song diff --git a/xbmc/addons/AddonInstaller.cpp b/xbmc/addons/AddonInstaller.cpp index 635de75695..26a9763b75 100644 --- a/xbmc/addons/AddonInstaller.cpp +++ b/xbmc/addons/AddonInstaller.cpp @@ -40,6 +40,8 @@ #include "dialogs/GUIDialogProgress.h" #include "URL.h" +#include + using namespace std; using namespace XFILE; using namespace ADDON; diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp index 9725d6ee3d..8b24703689 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp @@ -20,6 +20,8 @@ #define INITGUID +#include + #include "AESinkDirectSound.h" #include "utils/log.h" #include diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp index 74a35993fe..6216ef51cc 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include "cores/AudioEngine/Utils/AEUtil.h" #include "settings/AdvancedSettings.h" diff --git a/xbmc/cores/DllLoader/DllLoader.cpp b/xbmc/cores/DllLoader/DllLoader.cpp index 9e14cde259..01f8e9ad7b 100644 --- a/xbmc/cores/DllLoader/DllLoader.cpp +++ b/xbmc/cores/DllLoader/DllLoader.cpp @@ -19,6 +19,7 @@ */ #include +#include #include "DllLoader.h" #include "DllLoaderContainer.h" diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp index 79b4e6ed73..4ba6ed9894 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.cpp @@ -25,6 +25,8 @@ #include "settings/Settings.h" #include "utils/log.h" +#include + #include "cores/AudioEngine/AEFactory.h" CDVDAudioCodecPassthrough::CDVDAudioCodecPassthrough(void) : diff --git a/xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp b/xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp index bfa8b8f305..9cd095745f 100644 --- a/xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp +++ b/xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp @@ -20,6 +20,8 @@ #include "system.h" #ifdef HAVE_LIBBLURAY +#include + #include "DVDInputStreamBluray.h" #include "IDVDPlayer.h" #include "DVDCodecs/Overlay/DVDOverlay.h" diff --git a/xbmc/cores/dvdplayer/DVDMessageQueue.h b/xbmc/cores/dvdplayer/DVDMessageQueue.h index 325b15f72f..6c6ba5034e 100644 --- a/xbmc/cores/dvdplayer/DVDMessageQueue.h +++ b/xbmc/cores/dvdplayer/DVDMessageQueue.h @@ -23,6 +23,7 @@ #include "DVDMessage.h" #include #include +#include #include "threads/CriticalSection.h" #include "threads/Event.h" diff --git a/xbmc/filesystem/CDDAFile.cpp b/xbmc/filesystem/CDDAFile.cpp index b3405c49eb..16796f555c 100644 --- a/xbmc/filesystem/CDDAFile.cpp +++ b/xbmc/filesystem/CDDAFile.cpp @@ -30,6 +30,8 @@ #include "utils/log.h" #include "utils/URIUtils.h" +#include + using namespace MEDIA_DETECT; using namespace XFILE; diff --git a/xbmc/filesystem/CacheStrategy.cpp b/xbmc/filesystem/CacheStrategy.cpp index 10e1ed70eb..87bf10ca98 100644 --- a/xbmc/filesystem/CacheStrategy.cpp +++ b/xbmc/filesystem/CacheStrategy.cpp @@ -37,6 +37,7 @@ #endif // TARGET_WINDOWS #include +#include using namespace XFILE; diff --git a/xbmc/filesystem/DirectoryCache.cpp b/xbmc/filesystem/DirectoryCache.cpp index 76ea5540fd..987760a5f4 100644 --- a/xbmc/filesystem/DirectoryCache.cpp +++ b/xbmc/filesystem/DirectoryCache.cpp @@ -26,6 +26,8 @@ #include "utils/StringUtils.h" #include "climits" +#include + using namespace std; using namespace XFILE; diff --git a/xbmc/filesystem/FileCache.cpp b/xbmc/filesystem/FileCache.cpp index 4f6b727943..52fb1a1a47 100644 --- a/xbmc/filesystem/FileCache.cpp +++ b/xbmc/filesystem/FileCache.cpp @@ -32,6 +32,7 @@ #include "settings/AdvancedSettings.h" #include +#include using namespace AUTOPTR; using namespace XFILE; diff --git a/xbmc/network/WebServer.cpp b/xbmc/network/WebServer.cpp index 1075726f85..eb2bfd50ed 100644 --- a/xbmc/network/WebServer.cpp +++ b/xbmc/network/WebServer.cpp @@ -25,6 +25,7 @@ #include "WebServer.h" #ifdef HAS_WEB_SERVER #include +#include #include "URL.h" #include "Util.h" diff --git a/xbmc/pictures/Picture.cpp b/xbmc/pictures/Picture.cpp index 7a776fca49..d6af1dee53 100644 --- a/xbmc/pictures/Picture.cpp +++ b/xbmc/pictures/Picture.cpp @@ -23,6 +23,8 @@ #include "config.h" #endif +#include + #include "Picture.h" #include "settings/AdvancedSettings.h" #include "settings/Settings.h" diff --git a/xbmc/pictures/PictureInfoTag.cpp b/xbmc/pictures/PictureInfoTag.cpp index 371e642875..20a6e79d16 100644 --- a/xbmc/pictures/PictureInfoTag.cpp +++ b/xbmc/pictures/PictureInfoTag.cpp @@ -19,6 +19,7 @@ */ #include +#include #include "PictureInfoTag.h" #include "XBDateTime.h" diff --git a/xbmc/utils/Fanart.cpp b/xbmc/utils/Fanart.cpp index 9a86bd052a..c9aacdba4c 100644 --- a/xbmc/utils/Fanart.cpp +++ b/xbmc/utils/Fanart.cpp @@ -18,6 +18,9 @@ * */ +#include +#include + #include "Fanart.h" #include "utils/XBMCTinyXML.h" #include "utils/XMLUtils.h" diff --git a/xbmc/utils/JobManager.cpp b/xbmc/utils/JobManager.cpp index d2d2a13f7b..8f690fe636 100644 --- a/xbmc/utils/JobManager.cpp +++ b/xbmc/utils/JobManager.cpp @@ -20,13 +20,13 @@ #include "JobManager.h" #include +#include #include #include "threads/SingleLock.h" #include "utils/log.h" #include "system.h" - using namespace std; bool CJob::ShouldCancel(unsigned int progress, unsigned int total) const diff --git a/xbmc/utils/StringUtils.cpp b/xbmc/utils/StringUtils.cpp index 5b50008ab8..e896bca731 100644 --- a/xbmc/utils/StringUtils.cpp +++ b/xbmc/utils/StringUtils.cpp @@ -33,6 +33,7 @@ #include "utils/fstrcmp.h" #include "Util.h" #include +#include #include #include