/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/RmlUi/Source/Core/PluginRegistry.h
43 строки
1 KB
C-Core
Updated RmlUi to 6.2 and added some improvements (#1813)
10 фев 2026, 01:19
Не верифицирован
10 фев 2026, 01:19
58e2d41
Код
Авторство
О чём код?
#pragma once #include "../../Include/RmlUi/Core/Types.h" namespace Rml { class Context; class Element; class ElementDocument; class Plugin; class PluginRegistry { public: static void RegisterPlugin(Plugin* plugin); static void UnregisterPlugin(Plugin* plugin); /// Calls OnInitialise() on all plugins. static void NotifyInitialise(); /// Calls OnShutdown() on all plugins. static void NotifyShutdown(); /// Calls OnContextCreate() on all plugins. static void NotifyContextCreate(Context* context); /// Calls OnContextDestroy() on all plugins. static void NotifyContextDestroy(Context* context); /// Calls OnDocumentOpen() on all plugins. static void NotifyDocumentOpen(Context* context, const String& document_path); /// Calls OnDocumentLoad() on all plugins. static void NotifyDocumentLoad(ElementDocument* document); /// Calls OnDocumentUnload() on all plugins. static void NotifyDocumentUnload(ElementDocument* document); /// Calls OnElementCreate() on all plugins. static void NotifyElementCreate(Element* element); /// Calls OnElementDestroy() on all plugins. static void NotifyElementDestroy(Element* element); private: PluginRegistry() = delete; }; } // namespace Rml