![]() |
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
Class for the Platform object. More...
#include <Platform.h>
Public Member Functions | |
CPlatform ()=default | |
C'tor. More... | |
virtual | ~CPlatform ()=default |
D'tor. More... | |
virtual bool | InitStageOne () |
Called at an early stage of application startup. 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 CPlatform * | CreateInstance () |
Creates the Platform object. More... | |
Class for the Platform object.
Contains methods to retrieve platform specific information and methods for doing platform specific environment preparation/initialisation
|
default |
C'tor.
|
virtualdefault |
D'tor.
|
static |
Creates the Platform object.
|
inlinevirtual |
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 in CPlatformAndroid, CPlatformDarwinEmbedded, CPlatformDarwinOSX, CPlatformDarwin, CPlatformFreebsd, CPlatformLinux, CPlatformPosix, CPlatformWin10, and CPlatformWin32.
|
inlinevirtual |
Called at a late stage of application startup.
This method can be used for starting platform specific Window/GUI related services/components. (eg , WS-Discovery Daemons)
|
inlinevirtual |
Called at a middle stage of application startup.
This method can be used for starting platform specific services that do not depend on windowing/gui. (eg macos XBMCHelper)
Reimplemented in CPlatformDarwinEmbedded, and CPlatformDarwinOSX.
|
inlinevirtual |
Flag whether disabled add-ons - installed via packagemanager or manually - should be offered for configuration and activation on kodi startup for this platform.
Reimplemented in CPlatformLinux.
|
inlinevirtual |
Print platform specific info to log.
Logs platform specific system info during application creation startup
Reimplemented in CPlatformAndroid, CPlatformWin10, and CPlatformWin32.
|
inlinevirtual |
Flag whether this platform supports user installation of binary add-ons.
Reimplemented in CPlatformDarwinEmbedded, and CPlatformWin10.