summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/filesystem/fsp/fs_i_multi_commit_manager.h
blob: 6124873b3e999b877e4c95eb09f7b3e722722189 (plain) (tree)






















                                                                                
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "core/file_sys/vfs/vfs.h"
#include "core/hle/service/service.h"

namespace Service::FileSystem {

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

private:
    void Add(HLERequestContext& ctx);
    void Commit(HLERequestContext& ctx);

    FileSys::VirtualFile backend;
};

} // namespace Service::FileSystem