source/Platform/PlatformApplication.cpp: ApplicationType is defined by some Win32 headers.
This commit is contained in:
parent
845b93fb48
commit
d48cc650a8
1 changed files with 3 additions and 3 deletions
|
|
@ -3,10 +3,10 @@
|
||||||
|
|
||||||
#ifdef SPECTRE_PLATFORM_WIN
|
#ifdef SPECTRE_PLATFORM_WIN
|
||||||
#include <Platform/Win32/Win32Application.h>
|
#include <Platform/Win32/Win32Application.h>
|
||||||
typedef sp::Win32Application ApplicationType;
|
typedef sp::Win32Application ApplicationImpl;
|
||||||
#elif SPECTRE_PLATFORM_UNIX
|
#elif SPECTRE_PLATFORM_UNIX
|
||||||
#include <Platform/Unix/UnixApplication.h>
|
#include <Platform/Unix/UnixApplication.h>
|
||||||
typedef sp::UnixApplication ApplicationType;
|
typedef sp::UnixApplication ApplicationImpl;
|
||||||
#else
|
#else
|
||||||
#error "No Application implementation exists"
|
#error "No Application implementation exists"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -15,7 +15,7 @@ namespace sp {
|
||||||
|
|
||||||
PlatformApplication* PlatformApplication::create()
|
PlatformApplication* PlatformApplication::create()
|
||||||
{
|
{
|
||||||
return new ApplicationType;
|
return new ApplicationImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace sp
|
} // namespace sp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue