diff options
author | Thomas Amland <thomas.amland@gmail.com> | 2016-08-20 09:46:40 +0200 |
---|---|---|
committer | Thomas Amland <thomas.amland@gmail.com> | 2016-09-13 19:50:40 +0200 |
commit | e0e4c7d3ea76e1595927a29d51a71ac8e1b4dabb (patch) | |
tree | 7841acd2dd194317c2c1bd9f3a131c982c1083ec | |
parent | b0dfd19c0432349a7440ab8fdcbb20f736c1c621 (diff) |
remove dead code. always overridden
-rw-r--r-- | xbmc/Application.h | 2 | ||||
-rw-r--r-- | xbmc/XBApplicationEx.cpp | 18 | ||||
-rw-r--r-- | xbmc/XBApplicationEx.h | 2 |
3 files changed, 1 insertions, 21 deletions
diff --git a/xbmc/Application.h b/xbmc/Application.h index c14f62d54f..6030bfcfaf 100644 --- a/xbmc/Application.h +++ b/xbmc/Application.h @@ -145,7 +145,7 @@ public: virtual void FrameMove(bool processEvents, bool processGUI = true) override; virtual void Render() override; virtual void Preflight(); - virtual bool Create() override; + bool Create(); virtual bool Cleanup() override; bool CreateGUI(); diff --git a/xbmc/XBApplicationEx.cpp b/xbmc/XBApplicationEx.cpp index f6fffd8f6e..473a973df0 100644 --- a/xbmc/XBApplicationEx.cpp +++ b/xbmc/XBApplicationEx.cpp @@ -50,24 +50,6 @@ CXBApplicationEx::~CXBApplicationEx() { } -/* Create the app */ -bool CXBApplicationEx::Create() -{ - // Variables to perform app timing - m_bStop = false; - m_AppFocused = true; - m_ExitCode = EXITCODE_QUIT; - - // Initialize the app's device-dependent objects - if (!Initialize()) - { - CLog::Log(LOGERROR, "XBAppEx: Call to Initialize() failed!" ); - return false; - } - - return true; -} - /* Destroy the app */ VOID CXBApplicationEx::Destroy() { diff --git a/xbmc/XBApplicationEx.h b/xbmc/XBApplicationEx.h index c46cba15b1..f8b8c6deb0 100644 --- a/xbmc/XBApplicationEx.h +++ b/xbmc/XBApplicationEx.h @@ -49,8 +49,6 @@ public: virtual void SetRenderGUI(bool renderGUI) {}; public: - // Functions to create, run, and clean up the application - virtual bool Create(); INT Run(); VOID Destroy(); |