|
| static Preferences * | preferences () |
| | returns the global application settings
|
| |
| static void | savePreferences () |
| |
| static String | language () |
| | This method returns the language of the system that is currently set. The programme can use this variable to decide which language it should display.
|
| |
| static String | userId () |
| | This method returns the username of the currently logged-in user. This function determines the "system name" UserID. Typically, this is the account name.
|
| |
| static String | userFullName () |
| | This method returns the username of the currently logged-in user. This function determines the "natural language" user name. It usually contains spaces and is not identical to the account name.
|
| |
| static String | macAddress1 () |
| | Returns the first available MAC address of the system.
|
| |
| static const String & | bundleId () |
| | Returns the bundleId which was provided on init()
|
| |
| static void | init (const jm::String &bundleId) |
| | This method must be called first to set up important static objects.
|
| |
| static void | quit () |
| | This method cleans up static system objects. After calling this method, the program must be terminated because otherwise unwanted side effects may occur when using objects from this library.
|
| |
| static void | logEnableDate (bool status) |
| | Turns logging of timestamp on or of.
|
| |
| static void | logEnableLabel (LogLevel logLevel) |
| | Set the minimum level where the level label will be logged.
|
| |
| static void | log (const String &message, LogLevel logLevel) |
| | Logs a message.
|
| |
| static const String & | lastErrorMessage () |
| | Returns the last error message.
|
| |
| static void * | loadDynamicLibrary (File *file) |
| | This method loads a dynamic library. On macOS *.dylib, Windows *.dll, and Linux *.so.
|
| |
| static void | unloadDynamicLibrary (void *library) |
| | This method unloads a loaded dynamic library.
|
| |
| static void * | findSymbol (void *library, const String &name) |
| | This method searches for symbols in the library.
|
| |
| static AutoreleasePool * | autoreleasePool () |
| | This method returns the path to the autoreleased objects pool.
|
| |
Basic system information.