Rename System manufacturer/model to deviceVendor/deviceModel, and version to platformVersion, add platformName/platformLabel

This commit is contained in:
Joshua Granick
2018-01-29 13:01:33 -08:00
parent 15ef07800b
commit 4971f3222c
5 changed files with 287 additions and 182 deletions

View File

@@ -27,20 +27,22 @@ namespace lime {
public:
static bool GetAllowScreenTimeout ();
static std::wstring* GetDeviceModel ();
static std::wstring* GetDeviceVendor ();
static std::wstring* GetDirectory (SystemDirectory type, const char* company, const char* title);
static value GetDisplay (int id);
#ifdef IPHONE
static std::wstring* GetIOSDirectory (SystemDirectory type);
static bool GetIOSTablet ();
#endif
static std::wstring* GetManufacturer ();
static std::wstring* GetModel ();
static std::wstring* GetVersion ();
static int GetNumDisplays ();
static std::wstring* GetPlatformLabel ();
static std::wstring* GetPlatformName ();
static std::wstring* GetPlatformVersion ();
static double GetTimer ();
#ifdef HX_WINDOWS
static int GetWindowsConsoleMode (int handleType);
#endif
static value GetDisplay (int id);
static int GetNumDisplays ();
static double GetTimer ();
static void OpenFile (const char* path);
static void OpenURL (const char* url, const char* target);
static bool SetAllowScreenTimeout (bool allow);