Just Intonation
Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
iosplatformtools.cpp
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright 2016-2017 Karolin Stange, Christoph Wick, and Haye Hinrichsen
3
*
4
* This file is part of JustIntonation.
5
*
6
* JustIntonation is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* JustIntonation is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with JustIntonation. If not, see http://www.gnu.org/licenses/.
18
*****************************************************************************/
19
20
//============================================================================
21
// Platform-specific tools for IOS
22
//============================================================================
23
24
25
#include "
iosplatformtools.h
"
26
#include "
iosnativewrapper.h
"
27
28
#include <QDebug>
29
30
PlatformToolsInstanciator<IOSPlatformTools>
IOSPlatformToolsInstance
;
31
32
IOSPlatformTools::IOSPlatformTools
()
33
{
34
qDebug() <<
"IOS PLATFORM TOOLS WERE INSTANCIATED"
;
35
}
36
37
38
39
void
IOSPlatformTools::disableScreensaver
() {
40
iosDisableScreensaver
();
41
}
42
43
void
IOSPlatformTools::enableScreensaver
() {
44
iosReleaseScreensaverLock
();
45
}
46
iosnativewrapper.h
iosDisableScreensaver
void iosDisableScreensaver()
Definition:
iosnativewrapper.mm:13
IOSPlatformTools::enableScreensaver
virtual void enableScreensaver() override
Function to enable the screen saver.
Definition:
iosplatformtools.cpp:43
IOSPlatformTools::disableScreensaver
virtual void disableScreensaver() override
Function to disable the screen saver.
Definition:
iosplatformtools.cpp:39
IOSPlatformToolsInstance
PlatformToolsInstanciator< IOSPlatformTools > IOSPlatformToolsInstance
Definition:
iosplatformtools.cpp:30
iosReleaseScreensaverLock
void iosReleaseScreensaverLock()
Definition:
iosnativewrapper.mm:17
iosplatformtools.h
PlatformToolsInstanciator
Helper class for instantiating objects derived from PlatformTools.
Definition:
platformtools.h:119
IOSPlatformTools::IOSPlatformTools
IOSPlatformTools()
Definition:
iosplatformtools.cpp:32
application
modules
platformtools
ios
iosplatformtools.cpp
Generated on Wed Jul 12 2017 10:39:47 for Just Intonation by
1.8.11