diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/ghost/GHOST_IEvent.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
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__ |