windows enum refactor fixes

This commit is contained in:
Jack Andersen
2015-11-20 16:58:56 -10:00
parent d040e20096
commit 84b78f2962
7 changed files with 118 additions and 119 deletions

View File

@@ -225,7 +225,7 @@ public:
EPlatformType getPlatformType() const
{
return PLAT_WIN32;
return EPlatformType::Win32;
}
LRESULT winHwndHandler(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
@@ -362,8 +362,8 @@ int ApplicationRun(IApplication::EPlatformType platform,
{
if (APP)
return 1;
if (platform != IApplication::PLAT_WIN32 &&
platform != IApplication::PLAT_AUTO)
if (platform != IApplication::EPlatformType::Win32 &&
platform != IApplication::EPlatformType::Auto)
return 1;
/* One class for *all* boo windows */