Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
XBMCAddon::AddonCallback Class Reference

#include <AddonCallback.h>

Inheritance diagram for XBMCAddon::AddonCallback:
XBMCAddon::AddonClass XBMCAddon::xbmc::Monitor XBMCAddon::xbmc::Player XBMCAddon::xbmcgui::Window XBMCAddon::xbmcgui::WindowDialog XBMCAddon::xbmcgui::WindowXML XBMCAddon::xbmcgui::WindowXMLDialog

Public Member Functions

 ~AddonCallback () override
 
void setHandler (CallbackHandler *_handler)
 
void invokeCallback (Callback *callback)
 
- Public Member Functions inherited from XBMCAddon::AddonClass
 AddonClass ()
 
virtual ~AddonClass ()
 
const char * GetClassname () const
 
LanguageHookGetLanguageHook ()
 
bool isDeallocating ()
 
void Release () const
 
void Acquire () const
 

Protected Member Functions

bool hasHandler ()
 
 AddonCallback ()
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 

Protected Attributes

AddonClass::Ref< CallbackHandlerhandler
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 

Additional Inherited Members

- Static Public Member Functions inherited from XBMCAddon::AddonClass
static short getNumAddonClasses ()
 
- Static Protected Member Functions inherited from XBMCAddon::AddonClass
static short getNextClassIndex ()
 

Detailed Description

This class is the superclass for all API classes that are expected to be able to handle cross-language polymorphism.

Constructor & Destructor Documentation

◆ AddonCallback()

XBMCAddon::AddonCallback::AddonCallback ( )
inlineprotected

◆ ~AddonCallback()

XBMCAddon::AddonCallback::~AddonCallback ( )
overridedefault

Member Function Documentation

◆ hasHandler()

bool XBMCAddon::AddonCallback::hasHandler ( )
inlineprotected

◆ invokeCallback()

void XBMCAddon::AddonCallback::invokeCallback ( Callback * callback)

◆ setHandler()

void XBMCAddon::AddonCallback::setHandler ( CallbackHandler * _handler)
inline

Member Data Documentation

◆ handler

AddonClass::Ref<CallbackHandler> XBMCAddon::AddonCallback::handler
protected

The documentation for this class was generated from the following files: