3#include "structure/application/module/spk_event_based_module.hpp"
4#include "structure/system/event/spk_system_event.hpp"
17 class SystemModule final :
public EventBasedModule<spk::SystemEvent>
27 void _treatEvent(spk::SystemEvent &p_ievent)
override;
High-level application wrapper that creates the main window, OpenGL context, and orchestrates update/...
Definition spk_graphical_application.hpp:40
Handles system-level events (creation, resize, quit) for the application and its widget tree.
Definition spk_system_module.hpp:18
void _treatEvent(spk::SystemEvent &p_ievent) override
Applies a system event to the application.
Definition spk_system_module.cpp:8
void setApplication(GraphicalApplication *p_application)
Associates the module with an application instance.
Definition spk_system_module.cpp:69