diff options
author | bunnei <bunneidev@gmail.com> | 2019-06-26 16:26:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 16:26:44 +0200 |
commit | 4ed2774c26602d6ee1af316da5faf391d377d701 (patch) | |
tree | a1ef0e65dfd79f8badde8dcd24014432428c51f8 /src/core/hle/service/glue/arp.h | |
parent | Merge pull request #2603 from WamWooWam/master (diff) | |
parent | glue: Correct missing bytes in ApplicationLaunchParameter (diff) | |
download | yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.tar yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.tar.gz yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.tar.bz2 yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.tar.lz yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.tar.xz yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.tar.zst yuzu-4ed2774c26602d6ee1af316da5faf391d377d701.zip |
Diffstat (limited to 'src/core/hle/service/glue/arp.h')
-rw-r--r-- | src/core/hle/service/glue/arp.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/core/hle/service/glue/arp.h b/src/core/hle/service/glue/arp.h new file mode 100644 index 000000000..d5f8a7e7a --- /dev/null +++ b/src/core/hle/service/glue/arp.h @@ -0,0 +1,43 @@ +// Copyright 2019 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/service.h" + +namespace Service::Glue { + +class ARPManager; +class IRegistrar; + +class ARP_R final : public ServiceFramework<ARP_R> { +public: + explicit ARP_R(const Core::System& system, const ARPManager& manager); + ~ARP_R() override; + +private: + void GetApplicationLaunchProperty(Kernel::HLERequestContext& ctx); + void GetApplicationLaunchPropertyWithApplicationId(Kernel::HLERequestContext& ctx); + void GetApplicationControlProperty(Kernel::HLERequestContext& ctx); + void GetApplicationControlPropertyWithApplicationId(Kernel::HLERequestContext& ctx); + + const Core::System& system; + const ARPManager& manager; +}; + +class ARP_W final : public ServiceFramework<ARP_W> { +public: + explicit ARP_W(const Core::System& system, ARPManager& manager); + ~ARP_W() override; + +private: + void AcquireRegistrar(Kernel::HLERequestContext& ctx); + void DeleteProperties(Kernel::HLERequestContext& ctx); + + const Core::System& system; + ARPManager& manager; + std::shared_ptr<IRegistrar> registrar; +}; + +} // namespace Service::Glue |