Kodi Development
20.0
for Binary and Script based Add-Ons
Group source include
C++
»
Interface - kodi::addon
»
Addon type instances
»
PVR
»
1. Basic functions
Source parts:
PVR_ERROR
CMyInstance::GetCapabilities(
kodi::addon::PVRCapabilities
& capabilities)
{
// Required in interface to have!
// ...
}
PVR_ERROR
CMyInstance::GetBackendName(std::string& name)
{
// Required in interface to have!
// ...
}
PVR_ERROR
CMyInstance::GetBackendVersion(std::string& version)
{
// Required in interface to have!
// ...
}
PVR_ERROR
CMyInstance::GetBackendHostname(std::string& hostname)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::GetConnectionString(std::string& connection)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::GetDriveSpace(uint64_t& total, uint64_t& used)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
PVR_ERROR
CMyInstance::CallSettingsMenuHook(
const
kodi::addon::PVRMenuhook
& menuhook)
{
return
PVR_ERROR_NOT_IMPLEMENTED
;
}
kodi::addon::PVRCapabilities
Definition:
General.h:116
kodi::addon::PVRMenuhook
Definition:
MenuHook.h:46
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