yuzu/src/core/hle/service/glue/arp.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.1 KiB
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#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(Core::System& system_, const ARPManager& manager_);
~ARP_R() override;
private:
2023-02-19 19:42:12 +00:00
void GetApplicationLaunchProperty(HLERequestContext& ctx);
void GetApplicationLaunchPropertyWithApplicationId(HLERequestContext& ctx);
void GetApplicationControlProperty(HLERequestContext& ctx);
void GetApplicationControlPropertyWithApplicationId(HLERequestContext& ctx);
const ARPManager& manager;
};
class ARP_W final : public ServiceFramework<ARP_W> {
public:
explicit ARP_W(Core::System& system_, ARPManager& manager_);
~ARP_W() override;
private:
2023-02-19 19:42:12 +00:00
void AcquireRegistrar(HLERequestContext& ctx);
void UnregisterApplicationInstance(HLERequestContext& ctx);
ARPManager& manager;
std::shared_ptr<IRegistrar> registrar;
};
} // namespace Service::Glue