diff options
Diffstat (limited to 'intern/ghost/GHOST_IEventConsumer.h')
-rw-r--r-- | intern/ghost/GHOST_IEventConsumer.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/intern/ghost/GHOST_IEventConsumer.h b/intern/ghost/GHOST_IEventConsumer.h index 1568a5e4600..d677a632a4b 100644 --- a/intern/ghost/GHOST_IEventConsumer.h +++ b/intern/ghost/GHOST_IEventConsumer.h @@ -35,27 +35,26 @@ * for every installed event consumer to pass events. * \see GHOST_ISystem#addEventConsumer */ -class GHOST_IEventConsumer -{ -public: - /** - * Destructor. - */ - virtual ~GHOST_IEventConsumer() - { - } +class GHOST_IEventConsumer { + public: + /** + * Destructor. + */ + virtual ~GHOST_IEventConsumer() + { + } - /** - * This method is called by the system when it has events to dispatch. - * \see GHOST_ISystem#dispatchEvents - * \param event The event that can be handled or ignored. - * \return Indication as to whether the event was handled. - */ - virtual bool processEvent(GHOST_IEvent *event) = 0; + /** + * This method is called by the system when it has events to dispatch. + * \see GHOST_ISystem#dispatchEvents + * \param event The event that can be handled or ignored. + * \return Indication as to whether the event was handled. + */ + virtual bool processEvent(GHOST_IEvent *event) = 0; #ifdef WITH_CXX_GUARDEDALLOC - MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEventConsumer") + MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEventConsumer") #endif }; -#endif /* __GHOST_IEVENTCONSUMER_H__ */ +#endif /* __GHOST_IEVENTCONSUMER_H__ */ |