Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CPlatformPosix Class Reference

#include <PlatformPosix.h>

Inheritance diagram for CPlatformPosix:
CPlatform CPlatformAndroid CPlatformDarwin CPlatformFreebsd CPlatformLinux CPlatformDarwinEmbedded CPlatformDarwinOSX

Public Member Functions

bool InitStageOne () override
 Called at an early stage of application startup. More...
 
- Public Member Functions inherited from CPlatform
 CPlatform ()=default
 C'tor. More...
 
virtual ~CPlatform ()=default
 D'tor. More...
 
virtual bool InitStageTwo ()
 Called at a middle stage of application startup. More...
 
virtual bool InitStageThree ()
 Called at a late stage of application startup. More...
 
virtual bool IsConfigureAddonsAtStartupEnabled ()
 Flag whether disabled add-ons - installed via packagemanager or manually - should be offered for configuration and activation on kodi startup for this platform. More...
 
virtual bool SupportsUserInstalledBinaryAddons ()
 Flag whether this platform supports user installation of binary add-ons. More...
 
virtual void PlatformSyslog ()
 Print platform specific info to log. More...
 

Static Public Member Functions

static bool TestQuitFlag ()
 
static void RequestQuit ()
 
- Static Public Member Functions inherited from CPlatform
static CPlatformCreateInstance ()
 Creates the Platform object. More...
 

Member Function Documentation

◆ InitStageOne()

bool CPlatformPosix::InitStageOne ( )
overridevirtual

Called at an early stage of application startup.

This method can be used to do platform specific environment preparation or initialisation (like setting environment variables for example)

Reimplemented from CPlatform.

◆ RequestQuit()

void CPlatformPosix::RequestQuit ( )
static

◆ TestQuitFlag()

bool CPlatformPosix::TestQuitFlag ( )
static

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