mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-26 12:51:52 +01:00
26 lines
597 B
C++
26 lines
597 B
C++
#pragma once
|
|
|
|
#include <set>
|
|
#include <span>
|
|
#include <string>
|
|
|
|
namespace WUPSBackendSettings {
|
|
bool LoadSettings();
|
|
|
|
bool SaveSettings();
|
|
|
|
void ClearInactivePluginFilenames();
|
|
|
|
void AddInactivePluginFilename(const std::string &filename);
|
|
|
|
template<typename Iterable>
|
|
void SetInactivePluginFilenames(const Iterable &filenames) {
|
|
ClearInactivePluginFilenames();
|
|
for (const auto &cur : filenames) {
|
|
AddInactivePluginFilename(cur);
|
|
}
|
|
}
|
|
|
|
const std::set<std::string> &GetInactivePluginFilenames();
|
|
}; // namespace WUPSBackendSettings
|