11#include "../AddonBase.h"
22 virtual bool Init() = 0;
23 virtual void Begin() = 0;
24 virtual void End() = 0;
29#if defined(WIN32) && defined(HAS_ANGLE)
41 bool Init()
override {
return true; }
42 void Begin()
override {}
43 void End()
override {}
64inline std::shared_ptr<IRenderHelper> ATTR_DLL_LOCAL GetRenderHelper()
66 using namespace ::kodi::addon;
67 if (
static_cast<CAddonBase*
>(CPrivateBase::m_interface->addonBase)->m_renderHelper)
68 return static_cast<CAddonBase*
>(CPrivateBase::m_interface->addonBase)->m_renderHelper;
70 std::shared_ptr<kodi::gui::IRenderHelper> renderHelper(
new CRenderHelper());
71 if (!renderHelper->Init())
74 static_cast<CAddonBase*
>(CPrivateBase::m_interface->addonBase)->m_renderHelper =
Definition renderHelper.h:40
Definition renderHelper.h:20