![]() |
Just Intonation
Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
|
Base class providing support for various platforms. More...
#include <platformtools.h>
Public Member Functions | |
virtual void | init (Application &application) |
Platform-dependent initialization. More... | |
virtual void | disableScreensaver () |
Function to disable the screen saver. More... | |
virtual void | enableScreensaver () |
Function to enable the screen saver. More... | |
virtual qint64 | getFreeDiskSpace (const QString &path) |
Determine free disk space. More... | |
Static Public Member Functions | |
static PlatformTools & | getSingleton () |
static std::unique_ptr< PlatformTools > & | getPointerToInstance () |
Function holding the instance pointer as a static unique pointer. More... | |
Protected Member Functions | |
PlatformTools () | |
Base class providing support for various platforms.
This singleton class is used to access platform-dependent components. The platform-dependent components are defined as derived casses named XXXPlatformTools. To create an instance of these tools one has to instantiate a global object of the type
Definition at line 40 of file platformtools.h.
|
inlineprotected |
Definition at line 43 of file platformtools.h.
|
inlinevirtual |
Function to disable the screen saver.
Reimplemented in IOSPlatformTools.
Definition at line 73 of file platformtools.h.
|
inlinevirtual |
Function to enable the screen saver.
Reimplemented in IOSPlatformTools.
Definition at line 80 of file platformtools.h.
|
inlinevirtual |
Determine free disk space.
path | : Path of the location for which the free disk space has to be determined |
Definition at line 93 of file platformtools.h.
|
inlinestatic |
Function holding the instance pointer as a static unique pointer.
Definition at line 107 of file platformtools.h.
|
inlinestatic |
To access platform-dependent functions declare them as virtual functions here in this base, override them in the corresponding platform-dependent derived class and access them by calling
Definition at line 56 of file platformtools.h.
|
inlinevirtual |
Platform-dependent initialization.
Definition at line 66 of file platformtools.h.