eden-miror/src/frontend_common/mod_manager.h
lizzie 9ae4915e9c [*] basic in-house cpp linting
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-06-03 05:02:57 +02:00

22 lines
501 B
C++

// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <filesystem>
#include <optional>
#include <vector>
#include "common/common_types.h"
namespace FrontendCommon {
enum ModInstallResult {
Cancelled,
Failed,
Success,
};
std::vector<std::filesystem::path> GetModFolder(const std::string& root);
ModInstallResult InstallMod(const std::filesystem::path &path, const u64 program_id, const bool copy = true);
}