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

Public Member Functions

 MaybeLock (CCriticalSection *p_lock)
 
 ~MaybeLock ()
 

Detailed Description

Used in add/remove control. It only locks if it's given a non-NULL CCriticalSection. It's given a NULL CCriticalSection when a function higher in the call stack already has a

Constructor & Destructor Documentation

◆ MaybeLock()

XBMCAddon::xbmcgui::MaybeLock::MaybeLock ( CCriticalSection * p_lock)
inlineexplicit

◆ ~MaybeLock()

XBMCAddon::xbmcgui::MaybeLock::~MaybeLock ( )
inline

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