sys: Moved all views to builtin plugin

This commit is contained in:
WerWolv
2021-12-07 22:47:41 +01:00
parent 8385b88ce8
commit 4a53717676
69 changed files with 1470 additions and 1356 deletions

View File

@@ -269,4 +269,15 @@ namespace hex {
std::vector<ContentRegistry::Interface::DrawCallback>& ContentRegistry::Interface::getToolbarItems() {
return SharedData::toolbarItems;
}
/* Providers */
void ContentRegistry::Provider::add(const std::string &unlocalizedName) {
SharedData::providerNames.push_back(unlocalizedName);
}
const std::vector<std::string> &ContentRegistry::Provider::getEntries() {
return SharedData::providerNames;
}
}