diff options
author | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 17:20:02 +0100 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 17:20:02 +0100 |
commit | a2a0be424638365c9348bbe16d1db9706b690f8c (patch) | |
tree | f81fc557c2e00364ea1fe47b35277e03f4f43ba8 /src/core/hle/service/aoc/purchase_event_manager.h | |
parent | core/aoc: Move IPurchaseEventManager to separate file (diff) | |
download | yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.tar yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.tar.gz yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.tar.bz2 yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.tar.lz yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.tar.xz yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.tar.zst yuzu-a2a0be424638365c9348bbe16d1db9706b690f8c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/aoc/purchase_event_manager.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/hle/service/aoc/purchase_event_manager.h b/src/core/hle/service/aoc/purchase_event_manager.h index efde3c8f3..ea3836bc9 100644 --- a/src/core/hle/service/aoc/purchase_event_manager.h +++ b/src/core/hle/service/aoc/purchase_event_manager.h @@ -3,6 +3,7 @@ #pragma once +#include "core/hle/service/cmif_types.h" #include "core/hle/service/kernel_helpers.h" #include "core/hle/service/os/event.h" #include "core/hle/service/service.h" @@ -14,11 +15,12 @@ public: explicit IPurchaseEventManager(Core::System& system_); ~IPurchaseEventManager() override; - void SetDefaultDeliveryTarget(HLERequestContext& ctx); - void SetDeliveryTarget(HLERequestContext& ctx); - void GetPurchasedEventReadableHandle(HLERequestContext& ctx); - void PopPurchasedProductInfo(HLERequestContext& ctx); - void PopPurchasedProductInfoWithUid(HLERequestContext& ctx); + Result SetDefaultDeliveryTarget(ClientProcessId process_id, + InBuffer<BufferAttr_HipcMapAlias> in_buffer); + Result SetDeliveryTarget(u64 unknown, InBuffer<BufferAttr_HipcMapAlias> in_buffer); + Result GetPurchasedEvent(OutCopyHandle<Kernel::KReadableEvent> out_event); + Result PopPurchasedProductInfo(); + Result PopPurchasedProductInfoWithUid(); private: KernelHelpers::ServiceContext service_context; |