aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/helpers/OverrideUtils.h
blob: 73f059d6dc02bf278c5ae7dae0858bc1f8efc001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <QString>

namespace Override {

/** This creates a file in `parent_folder` that holds information about which
 *  overrides are in `override_path`.
 *
 *  If there's already an existing such file, it will be ovewritten.
 */
void createOverrides(QString name, QString parent_folder, QString override_path);

/** This reads an existing overrides archive, returning a list of overrides.
 *
 *  If there's no such file in `parent_folder`, it will return an empty list.
 */
QStringList readOverrides(QString name, QString parent_folder);

}  // namespace Override