blob: 76f8959ed612ac2ca996c63a1326e2f9f77cf17a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "core/hle/service/cmif_types.h"
#include "core/hle/service/kernel_helpers.h"
#include "core/hle/service/ns/ns_types.h"
#include "core/hle/service/os/event.h"
#include "core/hle/service/service.h"
namespace Kernel {
class KReadableEvent;
}
namespace Service::NS {
class ISystemUpdateControl;
class ISystemUpdateInterface final : public ServiceFramework<ISystemUpdateInterface> {
public:
explicit ISystemUpdateInterface(Core::System& system_);
~ISystemUpdateInterface() override;
private:
Result GetBackgroundNetworkUpdateState(
Out<BackgroundNetworkUpdateState> out_background_network_update_state);
Result OpenSystemUpdateControl(
Out<SharedPointer<ISystemUpdateControl>> out_system_update_control);
Result GetSystemUpdateNotificationEventForContentDelivery(
OutCopyHandle<Kernel::KReadableEvent> out_event);
private:
KernelHelpers::ServiceContext service_context;
Event update_notification_event;
};
} // namespace Service::NS
|