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_IEventConsumer.h | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'intern/ghost/GHOST_IEventConsumer.h') 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__ */ -- cgit v1.2.3