summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-08-06 22:24:08 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-08-19 10:05:58 -0400
commit6e312dce91f3b5cbb895f2d60d7eea294fdbc2d5 (patch)
tree3cf86e0de4040ca17bb817441bafff577e829ab8 /Source/Core
parente2e3f2a20bb3667fc0830e2d0f63af2ddf71cd54 (diff)
Core: Remove Core::GetWindowHandle
Finally, it's unused. Whoa.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Core.cpp5
-rw-r--r--Source/Core/Core/Core.h3
-rw-r--r--Source/Core/DolphinWX/Frame.cpp8
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp12
4 files changed, 0 insertions, 28 deletions
diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp
index 91a2299afd..b37ac0a3e6 100644
--- a/Source/Core/Core/Core.cpp
+++ b/Source/Core/Core/Core.cpp
@@ -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;
diff --git a/Source/Core/Core/Core.h b/Source/Core/Core/Core.h
index 1a079ac8ed..4e8918e44e 100644
--- a/Source/Core/Core/Core.h
+++ b/Source/Core/Core/Core.h
@@ -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);
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index e9edc83517..b710ba07cb 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -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
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp
index 039b6370a3..a9334686fc 100644
--- a/Source/Core/DolphinWX/FrameTools.cpp
+++ b/Source/Core/DolphinWX/FrameTools.cpp
@@ -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>