Core: Remove Core::GetWindowHandle

Finally, it's unused. Whoa.
This commit is contained in:
Jasper St. Pierre
2014-08-19 10:05:58 -04:00
parent e2e3f2a20b
commit 6e312dce91
4 changed files with 0 additions and 28 deletions
-5
View File
@@ -138,11 +138,6 @@ void DisplayMessage(const std::string& message, int time_in_ms)
}
}
void *GetWindowHandle()
{
return g_pWindowHandle;
}
bool IsRunning()
{
return (GetState() != CORE_UNINITIALIZED) || g_bHwInit;
-3
View File
@@ -59,9 +59,6 @@ void SaveScreenShot();
void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _pData, u32 _Size);
void* GetWindowHandle();
// This displays messages in a user-visible way.
void DisplayMessage(const std::string& message, int time_in_ms);
-8
View File
@@ -2,14 +2,6 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
// CFrame is the main parent window. Inside CFrame there is an m_Panel that is
// the parent for the rendering window (when we render to the main window). In
// Windows the rendering window is created by giving CreateWindow()
// m_Panel->GetHandle() as parent window and creating a new child window to
// m_Panel. The new child window handle that is returned by CreateWindow() can
// be accessed from Core::GetWindowHandle().
#ifdef __APPLE__
#include <Cocoa/Cocoa.h>
#endif
-12
View File
@@ -2,18 +2,6 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
/*
1.1 Windows
CFrame is the main parent window. Inside CFrame there is m_Panel which is the
parent for the rendering window (when we render to the main window). In Windows
the rendering window is created by giving CreateWindow() m_Panel->GetHandle()
as parent window and creating a new child window to m_Panel. The new child
window handle that is returned by CreateWindow() can be accessed from
Core::GetWindowHandle().
*/
#include <cstdarg>
#include <cstdio>
#include <mutex>