mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-15 15:59:13 +02:00
38 lines
913 B
C++
38 lines
913 B
C++
//
|
|
// AndroidHelper.cpp
|
|
// interface/src
|
|
//
|
|
// Created by Gabriel Calero & Cristian Duarte on 3/30/18.
|
|
// Copyright 2018 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
#include "AndroidHelper.h"
|
|
#include <QDebug>
|
|
|
|
AndroidHelper::AndroidHelper() {
|
|
}
|
|
|
|
AndroidHelper::~AndroidHelper() {
|
|
}
|
|
|
|
QSharedPointer<AccountManager> AndroidHelper::getAccountManager() {
|
|
return DependencyManager::get<AccountManager>();
|
|
}
|
|
|
|
void AndroidHelper::requestActivity(const QString &activityName) {
|
|
emit androidActivityRequested(activityName);
|
|
}
|
|
|
|
void AndroidHelper::notifyLoadComplete() {
|
|
emit qtAppLoadComplete();
|
|
}
|
|
|
|
void AndroidHelper::goBackFromAndroidActivity() {
|
|
emit backFromAndroidActivity();
|
|
}
|
|
|
|
void AndroidHelper::notifyLoginComplete(bool success) {
|
|
emit loginComplete(success);
|
|
}
|