aboutsummaryrefslogtreecommitdiff
path: root/src/frontend_common/mod_manager.h
blob: 57fdbc3533a76931f0ef7e67c3b57a493277ab54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include <filesystem>
#include <optional>
#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);
}