All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
App Class Reference

Static Public Member Functions

static void Initialise ()
 
static void Shutdown ()
 
static bool IsInitialised ()
 
static u32 GetDevice ()
 
static bool HasRetinaDisplay ()
 
static float GetDeviceDpi ()
 This returns screen dpi divided by UIScreen scale. If HasRetinaDisplay(), multiply by 2 to get actual absolute dpi.
 
static float GetAbsoluteDeviceDpi ()
 
static float GetNativeScale ()
 
static bool IsDeviceSmall ()
 
static bool IsDevicePhone ()
 
static bool IsDeviceMultiCore ()
 
static bool IsDeviceMultiCore (u32 deviceType)
 
static OrientationMode GetOrientationMode ()
 
static OrientationMode DetermineOrientationMode ()
 
static int GetMajorSystemVersion ()
 
static const char * GetVersionString ()
 
static const char * GetBuildString ()
 
static bool IsVersionGreaterThan (const char *version)
 
static bool IsVersionLessThan (const char *version)
 
static void LaunchBrowser (const char *url)
 
static void LaunchEMail (const char *mailTo)
 
static void LaunchPhone (const char *number)
 
static void LaunchSMS (const char *number)
 
static bool IsGPSInfoValid ()
 
static void SetGPSInfo (double altitude, double speed, double latitude, double longitude)
 
static void GetGPSInfo (double &altitude, double &speed, double &latitude, double &longitude)
 
static void SetHeading (double heading)
 
static float GetHeading ()
 
static void LongLatToMercator (double lon, double lat, double &x, double &y)
 
static void MercatorToLongLat (double x, double y, double &lon, double &lat)
 
static void LongLatOSGB36ToOSGrid (double lon, double lat, double &x, double &y)
 
static void OSGridToLongLatOSGB36 (double x, double y, double &lon, double &lat)
 
static void ConvertOSGB36ToWGS84 (double inLon, double inLat, double &outLon, double &outLat)
 
static void ConvertWGS84ToOSGB36 (double inLon, double inLat, double &outLon, double &outLat)
 
static void DetermineDeviceAndDpi (u32 &out_device, float &out_dpi)
 

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