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_IEventConsumer.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_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__ */ |