Showing the changes to android/apps/questFramePlayer/src/main/cpp/AndroidHelper.cpp (1 of 13 files). Show all
Unified · Split
| @@ -0,0 +1,33 @@ | |||
| 1 | // | ||
| 2 | // AndroidHelper.cpp | ||
| 3 | // interface/src | ||
| 4 | // | ||
| 5 | // Created by Gabriel Calero & Cristian Duarte on 3/30/18. | ||
| 6 | // Copyright 2018 High Fidelity, Inc. | ||
| 7 | // | ||
| 8 | // Distributed under the Apache License, Version 2.0. | ||
| 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | ||
| 10 | // | ||
| 11 | #include "AndroidHelper.h" | ||
| 12 | |||
| 13 | #include <QtCore/QDebug> | ||
| 14 | #include <QtGui/QGuiApplication> | ||
| 15 | |||
| 16 | AndroidHelper::AndroidHelper() { | ||
| 17 | } | ||
| 18 | |||
| 19 | AndroidHelper::~AndroidHelper() { | ||
| 20 | } | ||
| 21 | |||
| 22 | void AndroidHelper::notifyLoadComplete() { | ||
| 23 | emit qtAppLoadComplete(); | ||
| 24 | } | ||
| 25 | |||
| 26 | void AndroidHelper::notifyEnterForeground() { | ||
| 27 | emit enterForeground(); | ||
| 28 | } | ||
| 29 | |||
| 30 | void AndroidHelper::notifyEnterBackground() { | ||
| 31 | emit enterBackground(); | ||
| 32 | } | ||
| 33 | |||