25 #ifndef EVENTS_NOTIFICATIONS_H 26 #define EVENTS_NOTIFICATIONS_H 57 void resized(
int oldWidth,
int oldHeight,
int newWidth,
int newHeight);
75 #define NotificationMan Events::NotificationManager::instance() 77 #endif // EVENTS_NOTIFICATIONS_H
Class and macro for implementing singletons.
void unregisterNotifyable(const std::list< Notifyable *>::iterator &it)
void cameraMoved()
Notify all Notifyables that the camera moved.
std::list< Notifyable * >::iterator registerNotifyable(Notifyable ¬ifyable)
std::list< Notifyable * > _notifyables
void resized(int oldWidth, int oldHeight, int newWidth, int newHeight)
Notify all Notifyables that the screen size changed.
Generic template base class for implementing the singleton design pattern.
The notification manager, handling all notifications.
Low-level type definitions to handle fixed width types portably.