#ifndef EXTENSIONS_H #define EXTENSIONS_H #include "qtcommon.h" #include std::map LoadExtensions(); std::wstring DispatchSentenceToExtensions(std::wstring sentence, std::unordered_map miscInfo); struct InfoForExtension { ~InfoForExtension() { if (nextProperty) delete nextProperty; }; const char* propertyName = ""; int propertyValue = 0; InfoForExtension* nextProperty = nullptr; }; typedef wchar_t*(*ExtensionFunction)(const wchar_t*, const InfoForExtension*); #endif // EXTENSIONS_H