aboutsummaryrefslogtreecommitdiff
path: root/src/frontend_common/mod_manager.h
blob: 79c9e8ade74510de69a12ad1212d884225525132 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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);
}