le sigh for le ci

This commit is contained in:
Eric Froemling 2023-05-16 12:56:51 -07:00
parent 1f2aca9f69
commit d5646f1dc8
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98
2 changed files with 0 additions and 45 deletions

View File

@ -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

View File

@ -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_