Just Intonation  Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
WinRtPlatformTools Class Reference

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

#include <winrtplatformtools.h>

Inheritance diagram for WinRtPlatformTools:
Inheritance graph
Collaboration diagram for WinRtPlatformTools:
Collaboration graph

Public Member Functions

 WinRtPlatformTools ()
 
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 WINRT platform-specific tools.

Definition at line 38 of file winrtplatformtools.h.

Constructor & Destructor Documentation

WinRtPlatformTools::WinRtPlatformTools ( )

Definition at line 31 of file winrtplatformtools.cpp.

Member Function Documentation

virtual void PlatformTools::disableScreensaver ( )
inlinevirtualinherited

Function to disable the screen saver.

Reimplemented in IOSPlatformTools.

Definition at line 73 of file platformtools.h.

virtual void PlatformTools::enableScreensaver ( )
inlinevirtualinherited

Function to enable the screen saver.

Reimplemented in IOSPlatformTools.

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: