mirror of https://github.com/yuzu-mirror/yuzu
olsc: rewrite IOlscServiceForSystemService
parent
a8bca24292
commit
e540757279
@ -1,17 +1,27 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "core/hle/service/cmif_types.h"
|
||||||
#include "core/hle/service/service.h"
|
#include "core/hle/service/service.h"
|
||||||
|
|
||||||
namespace Service::OLSC {
|
namespace Service::OLSC {
|
||||||
|
|
||||||
|
class IDaemonController;
|
||||||
|
class IRemoteStorageController;
|
||||||
|
class ITransferTaskListController;
|
||||||
|
|
||||||
class IOlscServiceForSystemService final : public ServiceFramework<IOlscServiceForSystemService> {
|
class IOlscServiceForSystemService final : public ServiceFramework<IOlscServiceForSystemService> {
|
||||||
public:
|
public:
|
||||||
explicit IOlscServiceForSystemService(Core::System& system_);
|
explicit IOlscServiceForSystemService(Core::System& system_);
|
||||||
~IOlscServiceForSystemService() override;
|
~IOlscServiceForSystemService() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void OpenTransferTaskListController(HLERequestContext& ctx);
|
Result OpenTransferTaskListController(
|
||||||
|
Out<SharedPointer<ITransferTaskListController>> out_interface);
|
||||||
|
Result OpenRemoteStorageController(Out<SharedPointer<IRemoteStorageController>> out_interface);
|
||||||
|
Result OpenDaemonController(Out<SharedPointer<IDaemonController>> out_interface);
|
||||||
|
Result GetDataTransferPolicyInfo(Out<u16> out_policy_info, u64 application_id);
|
||||||
|
Result CloneService(Out<SharedPointer<IOlscServiceForSystemService>> out_interface);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Service::OLSC
|
} // namespace Service::OLSC
|
||||||
|
Loading…
Reference in New Issue