Entropy Piano Tuner
1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
|
#include <platformtools.h>
Public Member Functions | |
virtual void | init () |
Initialise native components (e.g. midi on android/iOS) More... | |
virtual bool | loadStartupFile (const QStringList args) |
Load a startup file from the given arguments. More... | |
virtual bool | openFileFromArgs (const QStringList &args) |
open the startup file from the arguments More... | |
virtual void | disableScreensaver () |
Function to disable the screen saver. More... | |
virtual void | enableScreensaver () |
Function to enable the screen saver. More... | |
void | openFile (const char *file, bool cached) |
Function called from the implementations to open a file. More... | |
Public Member Functions inherited from PlatformToolsCore | |
virtual std::shared_ptr < MidiAdapter > | createMidiAdapter () const |
Static Public Member Functions | |
static PlatformTools * | getSingleton () |
Static Public Member Functions inherited from PlatformToolsCore | |
static PlatformToolsCore * | getSingleton () |
Additional Inherited Members | |
Protected Member Functions inherited from PlatformToolsCore | |
PlatformToolsCore () | |
Namespace that contains platform dependent implementations of certain tools.
Definition at line 36 of file platformtools.h.
|
inlinevirtual |
Function to disable the screen saver.
Working on android, Mac Os X, iOS, Windows.
Definition at line 63 of file platformtools.h.
|
inlinevirtual |
Function to enable the screen saver.
Working on android, Mac Os X, iOS, Windows.
Definition at line 70 of file platformtools.h.
|
inlinestatic |
|
inlinevirtual |
Initialise native components (e.g. midi on android/iOS)
Definition at line 41 of file platformtools.h.
|
virtual |
Load a startup file from the given arguments.
args | : The startup arguments |
Definition at line 28 of file platformtools.cpp.
void PlatformTools::openFile | ( | const char * | file, |
bool | cached | ||
) |
Function called from the implementations to open a file.
file | : Absolute file path to open. |
cached | : Is the file cached? |
This function will use the singleton class TunerApplication to open the file.
Definition at line 59 of file platformtools.cpp.
|
virtual |
open the startup file from the arguments
args | : The program arguments |
Definition at line 32 of file platformtools.cpp.