From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: 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 --- intern/ghost/GHOST_IEvent.h | 63 ++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 32 deletions(-) (limited to 'intern/ghost/GHOST_IEvent.h') 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__ -- cgit v1.2.3