sys: Remove remaining references to hex.builtin from libimhex

This commit is contained in:
WerWolv
2022-07-02 17:53:13 +02:00
parent 0ed885fe0f
commit de269e7a48
20 changed files with 240 additions and 178 deletions

View File

@@ -328,6 +328,11 @@ namespace hex {
s_fontSize = size;
}
static std::string s_gpuVendor;
void setGPUVendor(const std::string &vendor) {
s_gpuVendor = vendor;
}
}
@@ -406,6 +411,21 @@ namespace hex {
bool usesSystemThemeDetection() {
return s_systemThemeDetection;
}
static std::vector<std::fs::path> s_additionalFolderPaths;
const std::vector<std::fs::path> &getAdditionalFolderPaths() {
return s_additionalFolderPaths;
}
void setAdditionalFolderPaths(const std::vector<std::fs::path> &paths) {
s_additionalFolderPaths = paths;
}
const std::string &getGPUVendor() {
return impl::s_gpuVendor;
}
}
}