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

#include <DarwinUtils.h>

Static Public Member Functions

static const char * getIosPlatformString (void)
 
static bool DeviceHasRetina (double &scale)
 
static const char * GetOSReleaseString (void)
 
static const char * GetOSVersionString (void)
 
static float GetIOSVersion (void)
 
static const char * GetIOSVersionString (void)
 
static const char * GetOSXVersionString (void)
 
static int GetFrameworkPath (bool forPython, char *path, size_t *pathsize)
 
static int GetExecutablePath (char *path, size_t *pathsize)
 
static const char * GetAppRootFolder (void)
 
static bool IsIosSandboxed (void)
 
static bool HasVideoToolboxDecoder (void)
 
static int BatteryLevel (void)
 
static void EnableOSScreenSaver (bool enable)
 
static void ResetSystemIdleTimer ()
 
static void SetScheduling (bool realtime)
 
static void PrintDebugString (std::string debugString)
 
static bool CFStringRefToString (CFStringRef source, std::string &destination)
 
static bool CFStringRefToUTF8String (CFStringRef source, std::string &destination)
 
static const std::string & GetManufacturer (void)
 
static bool IsAliasShortcut (const std::string &path, bool isdirectory)
 
static void TranslateAliasShortcut (std::string &path)
 
static bool CreateAliasShortcut (const std::string &fromPath, const std::string &toPath)
 

Member Function Documentation

◆ BatteryLevel()

int CDarwinUtils::BatteryLevel ( void  )
static

◆ CFStringRefToString()

bool CDarwinUtils::CFStringRefToString ( CFStringRef  source,
std::string &  destination 
)
static

◆ CFStringRefToUTF8String()

bool CDarwinUtils::CFStringRefToUTF8String ( CFStringRef  source,
std::string &  destination 
)
static

◆ CreateAliasShortcut()

bool CDarwinUtils::CreateAliasShortcut ( const std::string &  fromPath,
const std::string &  toPath 
)
static

◆ DeviceHasRetina()

bool CDarwinUtils::DeviceHasRetina ( double &  scale)
static

◆ EnableOSScreenSaver()

void CDarwinUtils::EnableOSScreenSaver ( bool  enable)
static

◆ GetAppRootFolder()

const char * CDarwinUtils::GetAppRootFolder ( void  )
static

◆ GetExecutablePath()

int CDarwinUtils::GetExecutablePath ( char *  path,
size_t *  pathsize 
)
static

◆ GetFrameworkPath()

int CDarwinUtils::GetFrameworkPath ( bool  forPython,
char *  path,
size_t *  pathsize 
)
static

◆ getIosPlatformString()

const char * CDarwinUtils::getIosPlatformString ( void  )
static

◆ GetIOSVersion()

float CDarwinUtils::GetIOSVersion ( void  )
static

◆ GetIOSVersionString()

const char * CDarwinUtils::GetIOSVersionString ( void  )
static

◆ GetManufacturer()

const std::string & CDarwinUtils::GetManufacturer ( void  )
static

◆ GetOSReleaseString()

const char * CDarwinUtils::GetOSReleaseString ( void  )
static

◆ GetOSVersionString()

const char * CDarwinUtils::GetOSVersionString ( void  )
static

◆ GetOSXVersionString()

const char * CDarwinUtils::GetOSXVersionString ( void  )
static

◆ HasVideoToolboxDecoder()

static bool CDarwinUtils::HasVideoToolboxDecoder ( void  )
static

◆ IsAliasShortcut()

bool CDarwinUtils::IsAliasShortcut ( const std::string &  path,
bool  isdirectory 
)
static

◆ IsIosSandboxed()

bool CDarwinUtils::IsIosSandboxed ( void  )
static

◆ PrintDebugString()

void CDarwinUtils::PrintDebugString ( std::string  debugString)
static

◆ ResetSystemIdleTimer()

void CDarwinUtils::ResetSystemIdleTimer ( )
static

◆ SetScheduling()

void CDarwinUtils::SetScheduling ( bool  realtime)
static

◆ TranslateAliasShortcut()

void CDarwinUtils::TranslateAliasShortcut ( std::string &  path)
static

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