From 6411ac839e055b119689e193df06158e7516dbae Mon Sep 17 00:00:00 2001 From: Geoff Evans Date: Wed, 15 May 2013 15:01:26 -0700 Subject: [PATCH] implement Runtime for posix --- Runtime.h | 4 ++-- RuntimePosix.cpp | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 RuntimePosix.cpp diff --git a/Runtime.h b/Runtime.h index 93b0f85..d01c56c 100644 --- a/Runtime.h +++ b/Runtime.h @@ -13,14 +13,14 @@ namespace Helium enum Type { Windows, - PlayStation3, + Posix, Count, }; static const tchar_t* Strings[] = { TXT("Windows"), - TXT("PlayStation3"), + TXT("Posix"), }; HELIUM_COMPILE_ASSERT( Platform::Types::Count == sizeof(Strings) / sizeof(const tchar_t*) ); diff --git a/RuntimePosix.cpp b/RuntimePosix.cpp new file mode 100644 index 0000000..2327d0a --- /dev/null +++ b/RuntimePosix.cpp @@ -0,0 +1,14 @@ +#include "PlatformPch.h" +#include "Runtime.h" + +using namespace Helium; +using namespace Helium::Platform; + +Platform::Type Platform::GetType() +{ + return Types::Posix; +} + +void Helium::EnableCPPErrorHandling( bool enable ) +{ +}