summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/olsc/olsc_service_for_application.h
blob: 3f9ac7536a0db5ca486ad0debc002108b00776c2 (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
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "core/hle/service/cmif_types.h"
#include "core/hle/service/ns/ns_types.h"
#include "core/hle/service/service.h"

namespace Service::OLSC {

class IOlscServiceForApplication final : public ServiceFramework<IOlscServiceForApplication> {
public:
    explicit IOlscServiceForApplication(Core::System& system_);
    ~IOlscServiceForApplication() override;

private:
    Result Initialize(ClientProcessId process_id);
    Result GetSaveDataBackupSetting(Out<u8> out_save_data_backup_setting);
    Result SetSaveDataBackupSettingEnabled(bool enabled, NS::Uid account_id);

    bool initialized{};
};

} // namespace Service::OLSC