mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
stub files
This commit is contained in:
parent
36453644e0
commit
9bad26c2db
7 changed files with 120 additions and 0 deletions
|
@ -193,6 +193,8 @@
|
|||
#include <src/scripting/LimitlessVoiceRecognitionScriptingInterface.h>
|
||||
#include <EntityScriptClient.h>
|
||||
#include <ModelScriptingInterface.h>
|
||||
#include "commerce/Ledger.h"
|
||||
#include "commerce/Wallet.h"
|
||||
|
||||
// On Windows PC, NVidia Optimus laptop, we want to enable NVIDIA GPU
|
||||
// FIXME seems to be broken.
|
||||
|
@ -598,6 +600,8 @@ bool setupEssentials(int& argc, char** argv, bool runningMarkerExisted) {
|
|||
DependencyManager::set<CloseEventSender>();
|
||||
DependencyManager::set<ResourceManager>();
|
||||
DependencyManager::set<ContextOverlayInterface>();
|
||||
DependencyManager::set<Ledger>();
|
||||
DependencyManager::set<Wallet>();
|
||||
|
||||
return previousSessionCrashed;
|
||||
}
|
||||
|
|
12
interface/src/commerce/Ledger.cpp
Normal file
12
interface/src/commerce/Ledger.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
//
|
||||
// Ledger.cpp
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Created by Howard Stearns on 8/4/17.
|
||||
// Copyright 2017 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 "Ledger.h"
|
25
interface/src/commerce/Ledger.h
Normal file
25
interface/src/commerce/Ledger.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
//
|
||||
// Ledger.h
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Bottlenecks all interaction with the blockchain or other ledger system.
|
||||
//
|
||||
// Created by Howard Stearns on 8/4/17.
|
||||
// Copyright 2017 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
|
||||
//
|
||||
|
||||
#ifndef hifi_Ledger_h
|
||||
#define hifi_Ledger_h
|
||||
|
||||
#include <DependencyManager.h>
|
||||
|
||||
class Ledger : public QObject, public Dependency {
|
||||
Q_OBJECT
|
||||
SINGLETON_DEPENDENCY
|
||||
|
||||
};
|
||||
|
||||
#endif // hifi_Ledger_h
|
16
interface/src/commerce/QmlCommerce.cpp
Normal file
16
interface/src/commerce/QmlCommerce.cpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
//
|
||||
// Commerce.cpp
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Created by Howard Stearns on 8/4/17.
|
||||
// Copyright 2017 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 "QmlCommerce.h"
|
||||
#include "Application.h"
|
||||
#include "DependencyManager.h"
|
||||
|
||||
HIFI_QML_DEF(QmlCommerce)
|
26
interface/src/commerce/QmlCommerce.h
Normal file
26
interface/src/commerce/QmlCommerce.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
//
|
||||
// Commerce.h
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Guard for safe use of Commerce (Wallet, Ledger) by authorized QML.
|
||||
//
|
||||
// Created by Howard Stearns on 8/4/17.
|
||||
// Copyright 2017 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
|
||||
//
|
||||
|
||||
#pragma once
|
||||
#ifndef hifi_QmlCommerce_h
|
||||
#define hifi_QmlCommerce_h
|
||||
|
||||
#include <OffscreenQmlDialog.h>
|
||||
|
||||
class QmlCommerce : public OffscreenQmlDialog {
|
||||
Q_OBJECT
|
||||
HIFI_QML_DECL
|
||||
|
||||
};
|
||||
|
||||
#endif // hifi_QmlCommerce_h
|
12
interface/src/commerce/Wallet.cpp
Normal file
12
interface/src/commerce/Wallet.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
//
|
||||
// Wallet.cpp
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Created by Howard Stearns on 8/4/17.
|
||||
// Copyright 2017 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 "Wallet.h"
|
25
interface/src/commerce/Wallet.h
Normal file
25
interface/src/commerce/Wallet.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
//
|
||||
// Wallet.h
|
||||
// interface/src/commerce
|
||||
//
|
||||
// API for secure keypair management
|
||||
//
|
||||
// Created by Howard Stearns on 8/4/17.
|
||||
// Copyright 2017 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
|
||||
//
|
||||
|
||||
#ifndef hifi_Wallet_h
|
||||
#define hifi_Wallet_h
|
||||
|
||||
#include <DependencyManager.h>
|
||||
|
||||
class Wallet : public QObject, public Dependency {
|
||||
Q_OBJECT
|
||||
SINGLETON_DEPENDENCY
|
||||
|
||||
};
|
||||
|
||||
#endif // hifi_Wallet_h
|
Loading…
Reference in a new issue