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()

static int CDarwinUtils::BatteryLevel ( void  )
static

§ CFStringRefToString()

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

§ CFStringRefToUTF8String()

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

§ CreateAliasShortcut()

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

§ DeviceHasRetina()

static bool CDarwinUtils::DeviceHasRetina ( double &  scale)
static

§ EnableOSScreenSaver()

static void CDarwinUtils::EnableOSScreenSaver ( bool  enable)
static

§ GetAppRootFolder()

static const char* CDarwinUtils::GetAppRootFolder ( void  )
static

§ GetExecutablePath()

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

§ GetFrameworkPath()

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

§ getIosPlatformString()

static const char* CDarwinUtils::getIosPlatformString ( void  )
static

§ GetIOSVersion()

static float CDarwinUtils::GetIOSVersion ( void  )
static

§ GetIOSVersionString()

static const char* CDarwinUtils::GetIOSVersionString ( void  )
static

§ GetManufacturer()

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

§ GetOSReleaseString()

static const char* CDarwinUtils::GetOSReleaseString ( void  )
static

§ GetOSVersionString()

static const char* CDarwinUtils::GetOSVersionString ( void  )
static

§ GetOSXVersionString()

static const char* CDarwinUtils::GetOSXVersionString ( void  )
static

§ HasVideoToolboxDecoder()

static bool CDarwinUtils::HasVideoToolboxDecoder ( void  )
static

§ IsAliasShortcut()

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

§ IsIosSandboxed()

static bool CDarwinUtils::IsIosSandboxed ( void  )
static

§ PrintDebugString()

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

§ ResetSystemIdleTimer()

static void CDarwinUtils::ResetSystemIdleTimer ( )
static

§ SetScheduling()

static void CDarwinUtils::SetScheduling ( bool  realtime)
static

§ TranslateAliasShortcut()

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

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