diff options
Diffstat (limited to 'intern/ghost/GHOST_IEvent.h')
-rw-r--r-- | intern/ghost/GHOST_IEvent.h | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/intern/ghost/GHOST_IEvent.h b/intern/ghost/GHOST_IEvent.h index eadb29ef61c..fc7e563e1d8 100644 --- a/intern/ghost/GHOST_IEvent.h +++ b/intern/ghost/GHOST_IEvent.h @@ -40,44 +40,43 @@ class GHOST_IWindow; * \see GHOST_IEventConsumer#processEvent * \see GHOST_TEventType */ -class GHOST_IEvent -{ -public: - /** - * Destructor. - */ - virtual ~GHOST_IEvent() - { - } +class GHOST_IEvent { + public: + /** + * Destructor. + */ + virtual ~GHOST_IEvent() + { + } - /** - * Returns the event type. - * \return The event type. - */ - virtual GHOST_TEventType getType() = 0; + /** + * Returns the event type. + * \return The event type. + */ + virtual GHOST_TEventType getType() = 0; - /** - * Returns the time this event was generated. - * \return The event generation time. - */ - virtual GHOST_TUns64 getTime() = 0; + /** + * Returns the time this event was generated. + * \return The event generation time. + */ + virtual GHOST_TUns64 getTime() = 0; - /** - * Returns the window this event was generated on, - * or NULL if it is a 'system' event. - * \return The generating window. - */ - virtual GHOST_IWindow *getWindow() = 0; + /** + * Returns the window this event was generated on, + * or NULL if it is a 'system' event. + * \return The generating window. + */ + virtual GHOST_IWindow *getWindow() = 0; - /** - * Returns the event data. - * \return The event data. - */ - virtual GHOST_TEventDataPtr getData() = 0; + /** + * Returns the event data. + * \return The event data. + */ + virtual GHOST_TEventDataPtr getData() = 0; #ifdef WITH_CXX_GUARDEDALLOC - MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEvent") + MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEvent") #endif }; -#endif // __GHOST_IEVENT_H__ +#endif // __GHOST_IEVENT_H__ |