Kodi Development
20.0
for Binary and Script based Add-Ons
Group source include
C++
»
Interface - kodi::addon
»
Addon type instances
»
PVR
»
6. Timers (optional)
Source parts:
PVR_ERROR
CMyInstance::GetTimerTypes(std::vector<kodi::addon::PVRTimerType>& types)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::GetTimersAmount(
int
& amount)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::GetTimers(
kodi::addon::PVRTimersResultSet
& results)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::AddTimer(
const
kodi::addon::PVRTimer
& timer)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::DeleteTimer(
const
kodi::addon::PVRTimer
& timer,
bool
forceDelete)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::UpdateTimer(
const
kodi::addon::PVRTimer
& timer)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::CallTimerMenuHook(
const
kodi::addon::PVRMenuhook
& menuhook,
const
kodi::addon::PVRTimer
& item)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
kodi::addon::PVRMenuhook
Definition:
MenuHook.h:46
kodi::addon::PVRTimer
Definition:
Timers.h:39
kodi::addon::PVRTimersResultSet
Definition:
Timers.h:487
PVR_ERROR
PVR_ERROR
Definition:
pvr_general.h:35
PVR_ERROR_NOT_IMPLEMENTED
@ PVR_ERROR_NOT_IMPLEMENTED
-2 : The method that Kodi called is not implemented by the add-on.
Definition:
pvr_general.h:43
Generated by
1.9.1