Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CPlatform Class Reference

Class for the Platform object. More...

#include <Platform.h>

Inheritance diagram for CPlatform:
CPlatformPosix CPlatformWin10 CPlatformAndroid CPlatformDarwin

Public Member Functions

 CPlatform ()
 C'tor. More...
 
virtual ~CPlatform ()
 D'tor. More...
 
virtual void Init ()
 Called at an early stage of application startup. More...
 

Static Public Member Functions

static CPlatformCreateInstance ()
 Creates the Platform object. More...
 

Detailed Description

Class for the Platform object.

Contains method which retrieve platform specific information and methods for doing platform specific environment preparation/initialisation

Constructor & Destructor Documentation

◆ CPlatform()

CPlatform::CPlatform ( )
default

C'tor.

◆ ~CPlatform()

CPlatform::~CPlatform ( )
virtualdefault

D'tor.

Member Function Documentation

◆ CreateInstance()

CPlatform * CPlatform::CreateInstance ( )
static

Creates the Platform object.

Returns
the platform object

◆ Init()

void CPlatform::Init ( )
virtual

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 CPlatformDarwin, CPlatformAndroid, CPlatformWin10, and CPlatformPosix.


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