Kodi Documentation
Kodi is an open source media player and entertainment hub.
XBMCAddon::DelayedCallGuard Class Reference

#include <LanguageHook.h>

Public Member Functions

 DelayedCallGuard (LanguageHook *languageHook_)
 DelayedCallGuard ()
 ~DelayedCallGuard ()
LanguageHookgetLanguageHook ()

Detailed Description

This class can be used to access the language hook's DelayedCallOpen and DelayedCallClose. It should be used whenever an API method is written such that it can block for an indefinite amount of time since certain scripting languages (like Python) need to do extra work for delayed calls (like free the python locks and handle callbacks).

Constructor & Destructor Documentation

◆ DelayedCallGuard() [1/2]

XBMCAddon::DelayedCallGuard::DelayedCallGuard ( LanguageHook languageHook_)

◆ DelayedCallGuard() [2/2]

XBMCAddon::DelayedCallGuard::DelayedCallGuard ( )

◆ ~DelayedCallGuard()

XBMCAddon::DelayedCallGuard::~DelayedCallGuard ( )

Member Function Documentation

◆ getLanguageHook()

LanguageHook* XBMCAddon::DelayedCallGuard::getLanguageHook ( )

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