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

#include <WindowInterceptor.h>

Public Member Functions

 ref (InterceptorBase *b)
 
 ~ref ()
 
CGUIWindowoperator-> ()
 
CGUIWindowget ()
 

Detailed Description

Guard class. But instead of managing memory or thread resources, any call made using the operator-> results in an 'upcall.' That is, it expects the call about to be made to have come from the XBMCAddon xbmcgui Window API and not from either the scripting language or the XBMC core Windowing system.

This class is meant to hold references to instances of Interceptor

. see that template definition below.

Constructor & Destructor Documentation

◆ ref()

XBMCAddon::xbmcgui::ref::ref ( InterceptorBase * b)
inlineexplicit

◆ ~ref()

XBMCAddon::xbmcgui::ref::~ref ( )
inline

Member Function Documentation

◆ get()

CGUIWindow * XBMCAddon::xbmcgui::ref::get ( )
inline

◆ operator->()

CGUIWindow * XBMCAddon::xbmcgui::ref::operator-> ( )
inline

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