Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ADDON::Interface_GUIGeneral Struct Reference

Global gui Add-on to Kodi callback functions. More...

#include <General.h>

Static Public Member Functions

static void Init (AddonGlobalInterface *addonInterface)
 
static void DeInit (AddonGlobalInterface *addonInterface)
 
static void lock ()
 callback functions from add-on to kodi
 
static void unlock ()
 
static int get_screen_height (KODI_HANDLE kodiBase)
 
static int get_screen_width (KODI_HANDLE kodiBase)
 
static int get_video_resolution (KODI_HANDLE kodiBase)
 
static int get_current_window_dialog_id (KODI_HANDLE kodiBase)
 
static int get_current_window_id (KODI_HANDLE kodiBase)
 
static ADDON_HARDWARE_CONTEXT get_hw_context (KODI_HANDLE kodiBase)
 
static AdjustRefreshRateStatus get_adjust_refresh_rate_status (KODI_HANDLE kodiBase)
 

Detailed Description

Global gui Add-on to Kodi callback functions.

To hold general gui functions and initialize also all other gui related types not related to a instance type and usable for every add-on type.

Related add-on header is "./xbmc/addons/kodi-dev-kit/include/kodi/gui/General.h"

Member Function Documentation

◆ DeInit()

void ADDON::Interface_GUIGeneral::DeInit ( AddonGlobalInterface * addonInterface)
static

◆ get_adjust_refresh_rate_status()

AdjustRefreshRateStatus ADDON::Interface_GUIGeneral::get_adjust_refresh_rate_status ( KODI_HANDLE kodiBase)
static

◆ get_current_window_dialog_id()

int ADDON::Interface_GUIGeneral::get_current_window_dialog_id ( KODI_HANDLE kodiBase)
static

◆ get_current_window_id()

int ADDON::Interface_GUIGeneral::get_current_window_id ( KODI_HANDLE kodiBase)
static

◆ get_hw_context()

ADDON_HARDWARE_CONTEXT ADDON::Interface_GUIGeneral::get_hw_context ( KODI_HANDLE kodiBase)
static

◆ get_screen_height()

int ADDON::Interface_GUIGeneral::get_screen_height ( KODI_HANDLE kodiBase)
static

◆ get_screen_width()

int ADDON::Interface_GUIGeneral::get_screen_width ( KODI_HANDLE kodiBase)
static

◆ get_video_resolution()

int ADDON::Interface_GUIGeneral::get_video_resolution ( KODI_HANDLE kodiBase)
static

◆ Init()

void ADDON::Interface_GUIGeneral::Init ( AddonGlobalInterface * addonInterface)
static

◆ lock()

void ADDON::Interface_GUIGeneral::lock ( )
static

callback functions from add-on to kodi

Note
For add of new functions use the "_" style to identify direct a add-on callback function. Everything with CamelCase is only for the usage in Kodi only.

The parameter kodiBase is used to become the pointer for a CAddonDll class.

◆ unlock()

void ADDON::Interface_GUIGeneral::unlock ( )
static

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