2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #if defined(TARGET_WINDOWS_DESKTOP)
12 #include "windowing/windows/WinSystemWin32DX.h"
13 #elif defined(TARGET_WINDOWS_STORE)
14 #include "windowing/win10/WinSystemWin10DX.h"
16 #include "ServiceBroker.h"
20 #if defined(TARGET_WINDOWS_DESKTOP)
21 __inline CWinSystemWin32DX
* Windowing()
23 return dynamic_cast<CWinSystemWin32DX
*>(CServiceBroker::GetRenderSystem());
25 #elif defined(TARGET_WINDOWS_STORE)
26 __inline CWinSystemWin10DX
* Windowing()
28 return dynamic_cast<CWinSystemWin10DX
*>(CServiceBroker::GetRenderSystem());