-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBreathLibraryCore.cpp
More file actions
46 lines (40 loc) · 1.62 KB
/
BreathLibraryCore.cpp
File metadata and controls
46 lines (40 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// BreathLibraryCore.cpp : Defines the exported functions for the DLL.
#include "BreathLibraryCore.hpp"
extern "C" BREATHLIBRARYCORE_API void EXTERNAL_CALLING_CONVENTION DebugPrintLoadedPlatform()
{
EDebug::Log(
#if defined(PLATFORM_WIN) && (PLATFORM_ARCH_64 == 1)
"Breath Library Core: Loaded for Windows x64"
#elif defined(PLATFORM_WIN) && (PLATFORM_ARCH_32 == 1)
"Breath Library Core: Loaded for Windows x86"
#elif defined(PLATFORM_OSX) && (PLATFORM_ARCH_64 == 1)
"Breath Library Core: Loaded for OSX x64"
#elif defined(PLATFORM_OSX) && (PLATFORM_ARCH_32 == 1)
"Breath Library Core: Loaded for OSX x86"
#elif defined(PLATFORM_ANDROID) && (PLATFORM_ARCH_64 == 1)
"Breath Library Core: Loaded for Android x64"
#elif defined(PLATFORM_ANDROID) && (PLATFORM_ARCH_32 == 1)
"Breath Library Core: Loaded for Android x86"
#elif defined(PLATFORM_LINUX) && (PLATFORM_ARCH_64 == 1)
"Breath Library Core: Loaded for Linux x64"
#elif defined(PLATFORM_LINUX) && (PLATFORM_ARCH_32 == 1)
"Breath Library Core: Loaded for Linux x86"
#else
"Breath Library Core: Loaded for unknown platform"
#endif
);
}
extern "C" BREATHLIBRARYCORE_API void EXTERNAL_CALLING_CONVENTION OnRuntimeInitialized()
{
// EDebug::Log("Breath Library Core: OnRuntimeInitialized");
ReferenceManager::OnRuntimeInitialized();
}
extern "C" BREATHLIBRARYCORE_API void EXTERNAL_CALLING_CONVENTION OnApplicationQuit()
{
// EDebug::Log("Breath Library Core: OnApplicationQuit");
ReferenceManager::OnApplicationQuit();
}
extern "C" BREATHLIBRARYCORE_API void EXTERNAL_CALLING_CONVENTION OnApplicationSuspension()
{
// EDebug::Log("Breath Library Core: OnApplicationSuspension");
}