Core: Remove Core::GetWindowHandle
Finally, it's unused. Whoa.
This commit is contained in:
parent
e2e3f2a20b
commit
6e312dce91
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue