2021-01-13 17:28:27 +01:00
|
|
|
#include <hex/helpers/shared_data.hpp>
|
2021-01-12 23:28:41 +01:00
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
|
|
|
std::vector<EventHandler> SharedData::eventHandlers;
|
|
|
|
std::vector<std::function<void()>> SharedData::deferredCalls;
|
|
|
|
prv::Provider *SharedData::currentProvider;
|
|
|
|
std::map<std::string, std::vector<ContentRegistry::Settings::Entry>> SharedData::settingsEntries;
|
|
|
|
nlohmann::json SharedData::settingsJson;
|
|
|
|
std::map<std::string, Events> SharedData::customEvents;
|
|
|
|
u32 SharedData::customEventsLastId;
|
|
|
|
std::vector<ContentRegistry::CommandPaletteCommands::Entry> SharedData::commandPaletteCommands;
|
|
|
|
std::map<std::string, ContentRegistry::PatternLanguageFunctions::Function> SharedData::patternLanguageFunctions;
|
|
|
|
std::vector<View*> SharedData::views;
|
2021-01-13 13:18:03 +01:00
|
|
|
std::vector<ContentRegistry::Tools::Entry> SharedData::toolsEntries;
|
2021-01-13 01:24:27 +01:00
|
|
|
std::vector<ContentRegistry::DataInspector::Entry> SharedData::dataInspectorEntries;
|
2021-01-12 23:28:41 +01:00
|
|
|
|
|
|
|
int SharedData::mainArgc;
|
|
|
|
char **SharedData::mainArgv;
|
|
|
|
|
|
|
|
ImVec2 SharedData::windowPos;
|
|
|
|
ImVec2 SharedData::windowSize;
|
|
|
|
|
|
|
|
std::map<std::string, std::any> SharedData::sharedVariables;
|
|
|
|
}
|