Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
C++11 win32
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Feb 7, 2015
1 parent dfc6843 commit 68ec995
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions xbmc/GUIInfoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
#include "URL.h"
#include "addons/Skin.h"
#include <memory>
#include <functional>
#include "cores/DataCacheCore.h"

// stuff for current song
Expand Down
2 changes: 2 additions & 0 deletions xbmc/addons/AddonInstaller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#include "dialogs/GUIDialogProgress.h"
#include "URL.h"

#include <functional>

using namespace std;
using namespace XFILE;
using namespace ADDON;
Expand Down
2 changes: 2 additions & 0 deletions xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#define INITGUID

#include <algorithm>

#include "AESinkDirectSound.h"
#include "utils/log.h"
#include <initguid.h>
Expand Down
1 change: 1 addition & 0 deletions xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <avrt.h>
#include <initguid.h>
#include <stdint.h>
#include <algorithm>

#include "cores/AudioEngine/Utils/AEUtil.h"
#include "settings/AdvancedSettings.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/cores/DllLoader/DllLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

#include <stdlib.h>
#include <algorithm>

#include "DllLoader.h"
#include "DllLoaderContainer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "settings/Settings.h"
#include "utils/log.h"

#include <algorithm>

#include "cores/AudioEngine/AEFactory.h"

CDVDAudioCodecPassthrough::CDVDAudioCodecPassthrough(void) :
Expand Down
2 changes: 2 additions & 0 deletions xbmc/cores/dvdplayer/DVDInputStreams/DVDInputStreamBluray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "system.h"
#ifdef HAVE_LIBBLURAY

#include <functional>

#include "DVDInputStreamBluray.h"
#include "IDVDPlayer.h"
#include "DVDCodecs/Overlay/DVDOverlay.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/cores/dvdplayer/DVDMessageQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "DVDMessage.h"
#include <string>
#include <list>
#include <algorithm>
#include "threads/CriticalSection.h"
#include "threads/Event.h"

Expand Down
2 changes: 2 additions & 0 deletions xbmc/filesystem/CDDAFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include "utils/log.h"
#include "utils/URIUtils.h"

#include <algorithm>

using namespace MEDIA_DETECT;
using namespace XFILE;

Expand Down
1 change: 1 addition & 0 deletions xbmc/filesystem/CacheStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#endif // TARGET_WINDOWS

#include <assert.h>
#include <algorithm>

using namespace XFILE;

Expand Down
2 changes: 2 additions & 0 deletions xbmc/filesystem/DirectoryCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "utils/StringUtils.h"
#include "climits"

#include <algorithm>

using namespace std;
using namespace XFILE;

Expand Down
1 change: 1 addition & 0 deletions xbmc/filesystem/FileCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "settings/AdvancedSettings.h"

#include <assert.h>
#include <algorithm>

using namespace AUTOPTR;
using namespace XFILE;
Expand Down
1 change: 1 addition & 0 deletions xbmc/network/WebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "WebServer.h"
#ifdef HAS_WEB_SERVER
#include <memory>
#include <algorithm>

#include "URL.h"
#include "Util.h"
Expand Down
2 changes: 2 additions & 0 deletions xbmc/pictures/Picture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include "config.h"
#endif

#include <algorithm>

#include "Picture.h"
#include "settings/AdvancedSettings.h"
#include "settings/Settings.h"
Expand Down
1 change: 1 addition & 0 deletions xbmc/pictures/PictureInfoTag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

#include <stdlib.h>
#include <algorithm>

#include "PictureInfoTag.h"
#include "XBDateTime.h"
Expand Down
3 changes: 3 additions & 0 deletions xbmc/utils/Fanart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*
*/

#include <algorithm>
#include <functional>

#include "Fanart.h"
#include "utils/XBMCTinyXML.h"
#include "utils/XMLUtils.h"
Expand Down
2 changes: 1 addition & 1 deletion xbmc/utils/JobManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

#include "JobManager.h"
#include <algorithm>
#include <functional>
#include <stdexcept>
#include "threads/SingleLock.h"
#include "utils/log.h"

#include "system.h"


using namespace std;

bool CJob::ShouldCancel(unsigned int progress, unsigned int total) const
Expand Down
1 change: 1 addition & 0 deletions xbmc/utils/StringUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "utils/fstrcmp.h"
#include "Util.h"
#include <locale>
#include <functional>

#include <assert.h>
#include <math.h>
Expand Down

0 comments on commit 68ec995

Please sign in to comment.