Just Intonation  Version 1.3.0 (18)
Explore scale-independent dynamically adapting tuning in just intonation
IOSPlatformTools Class Reference

Derived class for IOS platform-specific tools. More...

#include <iosplatformtools.h>

Inheritance diagram for IOSPlatformTools:
Inheritance graph
Collaboration diagram for IOSPlatformTools:
Collaboration graph

Public Member Functions

 IOSPlatformTools ()
 
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 PlatformToolsgetSingleton ()
 
static std::unique_ptr< PlatformTools > & getPointerToInstance ()
 Function holding the instance pointer as a static unique pointer. More...
 

Detailed Description

Derived class for IOS platform-specific tools.

Definition at line 38 of file iosplatformtools.h.

Constructor & Destructor Documentation

IOSPlatformTools::IOSPlatformTools ( )

Definition at line 31 of file iosplatformtools.cpp.

Member Function Documentation

virtual void PlatformTools::disableScreensaver ( )
inlinevirtualinherited

Function to disable the screen saver.

Definition at line 73 of file platformtools.h.

virtual void PlatformTools::enableScreensaver ( )
inlinevirtualinherited

Function to enable the screen saver.

Definition at line 80 of file platformtools.h.

virtual qint64 PlatformTools::getFreeDiskSpace ( const QString &  path)
inlinevirtualinherited

Determine free disk space.

Parameters
path: Path of the location for which the free disk space has to be determined
Returns
: Free space as a qint64 in bytes.

Definition at line 93 of file platformtools.h.

static std::unique_ptr<PlatformTools>& PlatformTools::getPointerToInstance ( )
inlinestaticinherited

Function holding the instance pointer as a static unique pointer.

Definition at line 107 of file platformtools.h.

static PlatformTools& PlatformTools::getSingleton ( )
inlinestaticinherited

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

PlatformTools::getSingleton().<functionname>(<arguments>);

Definition at line 56 of file platformtools.h.

Here is the call graph for this function:

virtual void PlatformTools::init ( Application application)
inlinevirtualinherited

Platform-dependent initialization.

Definition at line 66 of file platformtools.h.


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