Skip to content

Commit

Permalink
implement Runtime for posix
Browse files Browse the repository at this point in the history
  • Loading branch information
gorlak committed May 15, 2013
1 parent ea301f9 commit 6411ac8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Runtime.h
Expand Up @@ -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*) );
Expand Down
14 changes: 14 additions & 0 deletions 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 )
{
}

0 comments on commit 6411ac8

Please sign in to comment.