Kodi Documentation  20.0
Kodi is an open source media player and entertainment hub.
XBMCAddon Namespace Reference

Namespaces

 Python
 
 xbmc
 
 xbmcaddon
 
 xbmcdrm
 
 xbmcgui
 
 xbmcplugin
 
 xbmcvfs
 
 xbmcwsgi
 

Classes

class  AddonCallback
 
class  AddonClass
 
class  Alternative
 
class  AsyncCallbackMessage
 
class  Callback
 
class  CallbackFunction
 
class  CallbackFunction< M, AddonClass::Ref< P1 >, cb_null_type, cb_null_type, cb_null_type, cb_null_type >
 
class  CallbackFunction< M, cb_null_type, cb_null_type, cb_null_type, cb_null_type, cb_null_type >
 
class  CallbackFunction< M, P1, cb_null_type, cb_null_type, cb_null_type, cb_null_type >
 
class  CallbackFunction< M, P1, P2, cb_null_type, cb_null_type, cb_null_type >
 
class  CallbackFunction< M, P1, P2, P3, cb_null_type, cb_null_type >
 
class  CallbackHandler
 
struct  cb_null_type
 
class  DelayedCallGuard
 
class  Dictionary
 
class  LanguageHook
 
class  List
 
class  RetardedAsyncCallbackHandler
 
class  SetLanguageHookGuard
 
class  Tuple
 
class  Tuple< T1, T2, T3, T4, tuple_null_type >
 
class  Tuple< T1, T2, T3, tuple_null_type, tuple_null_type >
 
class  Tuple< T1, T2, tuple_null_type, tuple_null_type, tuple_null_type >
 
class  Tuple< T1, tuple_null_type, tuple_null_type, tuple_null_type, tuple_null_type >
 
struct  tuple_null_type
 
class  TupleBase
 
class  UnhandledException
 
class  UnimplementedException
 

Typedefs

typedef std::string String
 
typedef std::vector< AddonClass::Ref< AsyncCallbackMessage > > CallbackQueue
 
typedef String StringOrInt
 
typedef Dictionary< StringOrIntProperties
 
typedef std::vector< char > charVec
 

Enumerations

enum  WhichAlternative { none, first, second }
 

Functions

 XBMCCOMMONS_STANDARD_EXCEPTION (WrongTypeException)
 

Variables

String emptyString
 

Detailed Description

Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (increments and decrements) that take place on any Addon* class.

Comment out (or uncomment out) to change the setting. Defining XBMC_ADDON_DEBUG_MEMORY will make the Acquire and Release methods virtual allow the developer to overload them in a sub-class and set breakpoints to aid in debugging. It will also cause the reference counting mechanism to never actually delete any AddonClass instance allowing for the tracking of more references to (supposedly) deallocated classes.

Comment out (or uncomment out) to change the setting.

This file contains the public definitions for the Addon api. It's meant to be used by those writing language bindings.

This file contains a few templates to define various length Tuples.

Typedef Documentation

◆ CallbackQueue

◆ charVec

typedef std::vector<char> XBMCAddon::charVec

◆ Properties

◆ String

typedef std::string XBMCAddon::String

◆ StringOrInt

Enumeration Type Documentation

◆ WhichAlternative

Enumerator
none 
first 
second 

Function Documentation

◆ XBMCCOMMONS_STANDARD_EXCEPTION()

XBMCAddon::XBMCCOMMONS_STANDARD_EXCEPTION ( WrongTypeException  )

Variable Documentation

◆ emptyString

String XBMCAddon::emptyString