mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 07:23:37 +08:00
le sigh for le ci
This commit is contained in:
parent
1f2aca9f69
commit
d5646f1dc8
@ -1,23 +0,0 @@
|
|||||||
// Copyright (c) 2011-2022 Eric Froemling
|
|
||||||
|
|
||||||
#if BA_RIFT_BUILD
|
|
||||||
#include "ballistica/base/platform/windows/base_platform_windows_oculus.h"
|
|
||||||
|
|
||||||
#include "ballistica/core/platform/oculus/oculus_utils.h"
|
|
||||||
|
|
||||||
namespace ballistica::base {
|
|
||||||
|
|
||||||
BasePlatformWindowsOculus::BasePlatformWindowsOculus() {}
|
|
||||||
|
|
||||||
void BasePlatformWindowsOculus::DoPurchase(const std::string& item) {
|
|
||||||
core::OculusUtils::Purchase(item);
|
|
||||||
}
|
|
||||||
|
|
||||||
void BasePlatformWindowsOculus::PurchaseAck(const std::string& purchase,
|
|
||||||
const std::string& order_id) {
|
|
||||||
core::OculusUtils::ConsumePurchase(purchase);
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace ballistica::base
|
|
||||||
|
|
||||||
#endif // BA_RIFT_BUILD
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
// Copyright (c) 2011-2022 Eric Froemling
|
|
||||||
|
|
||||||
#ifndef BALLISTICA_BASE_PLATFORM_WINDOWS_BASE_PLATFORM_WINDOWS_OCULUS_H_
|
|
||||||
#define BALLISTICA_BASE_PLATFORM_WINDOWS_BASE_PLATFORM_WINDOWS_OCULUS_H_
|
|
||||||
#if BA_RIFT_BUILD
|
|
||||||
|
|
||||||
#include "ballistica/base/platform/windows/base_platform_windows.h"
|
|
||||||
|
|
||||||
namespace ballistica::base {
|
|
||||||
|
|
||||||
class BasePlatformWindowsOculus : public BasePlatformWindows {
|
|
||||||
public:
|
|
||||||
BasePlatformWindowsOculus();
|
|
||||||
void DoPurchase(const std::string& item) override;
|
|
||||||
void PurchaseAck(const std::string& purchase,
|
|
||||||
const std::string& order_id) override;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ballistica::base
|
|
||||||
|
|
||||||
#endif // BA_RIFT_BUILD
|
|
||||||
#endif // BALLISTICA_BASE_PLATFORM_WINDOWS_BASE_PLATFORM_WINDOWS_OCULUS_H_
|
|
||||||
Loading…
x
Reference in New Issue
Block a user