Skip to content

Commit 84c65c0

Browse files
committed
Bring in Valve headers
1 parent d1ae5c1 commit 84c65c0

15 files changed

+44
-16
lines changed

src/thirdparty/discord_game_sdk/cpp/achievement_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "achievement_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class AchievementEvents final {

src/thirdparty/discord_game_sdk/cpp/activity_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "activity_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class ActivityEvents final {

src/thirdparty/discord_game_sdk/cpp/application_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "application_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
void ApplicationManager::ValidateOrExit(std::function<void(Result)> callback)

src/thirdparty/discord_game_sdk/cpp/core.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "core.h"
76

87
#include <cstring>
98
#include <memory>
109

10+
// memdbgon must be the last include file in a .cpp file!!!
11+
#include <tier0/memdbgon.h>
12+
1113
namespace discord {
1214

1315
Result Core::Create(ClientId clientId, uint64_t flags, Core** instance)

src/thirdparty/discord_game_sdk/cpp/event.h

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#include <functional>
44
#include <vector>
5+
#include <platform.h>
56

67
namespace discord {
78

src/thirdparty/discord_game_sdk/cpp/image_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "image_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
void ImageManager::Fetch(ImageHandle handle,

src/thirdparty/discord_game_sdk/cpp/lobby_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "lobby_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class LobbyEvents final {

src/thirdparty/discord_game_sdk/cpp/network_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "network_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class NetworkEvents final {

src/thirdparty/discord_game_sdk/cpp/overlay_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "overlay_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class OverlayEvents final {

src/thirdparty/discord_game_sdk/cpp/relationship_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "relationship_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class RelationshipEvents final {

src/thirdparty/discord_game_sdk/cpp/storage_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "storage_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
Result StorageManager::Read(char const* name,

src/thirdparty/discord_game_sdk/cpp/store_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "store_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class StoreEvents final {

src/thirdparty/discord_game_sdk/cpp/types.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "types.h"
76

8-
#include <cstring>
9-
#include <memory>
7+
#include <tier1/strtools.h>
8+
9+
// memdbgon must be the last include file in a .cpp file!!!
10+
#include <tier0/memdbgon.h>
1011

1112
namespace discord {
1213

src/thirdparty/discord_game_sdk/cpp/user_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "user_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class UserEvents final {

src/thirdparty/discord_game_sdk/cpp/voice_manager.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#define _CRT_SECURE_NO_WARNINGS
33
#endif
44

5-
#include "cbase.h"
65
#include "voice_manager.h"
76

87
#include "core.h"
98

109
#include <cstring>
1110
#include <memory>
1211

12+
// memdbgon must be the last include file in a .cpp file!!!
13+
#include <tier0/memdbgon.h>
14+
1315
namespace discord {
1416

1517
class VoiceEvents final {

0 commit comments

Comments
 (0)