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_IContext.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_IContext.h')
-rw-r--r-- | intern/ghost/GHOST_IContext.h | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/intern/ghost/GHOST_IContext.h b/intern/ghost/GHOST_IContext.h index 3bc18b9a6c7..a341e18ca0a 100644 --- a/intern/ghost/GHOST_IContext.h +++ b/intern/ghost/GHOST_IContext.h @@ -28,7 +28,6 @@ #include "STR_String.h" #include "GHOST_Types.h" - /** * Interface for GHOST context. * @@ -36,31 +35,30 @@ * GHOST_ISystem::createOffscreenContext method. * \see GHOST_ISystem#createOffscreenContext */ -class GHOST_IContext -{ -public: - /** - * Destructor. - */ - virtual ~GHOST_IContext() - { - } +class GHOST_IContext { + public: + /** + * Destructor. + */ + virtual ~GHOST_IContext() + { + } - /** - * Activates the drawing context. - * \return A boolean success indicator. - */ - virtual GHOST_TSuccess activateDrawingContext() = 0; + /** + * Activates the drawing context. + * \return A boolean success indicator. + */ + virtual GHOST_TSuccess activateDrawingContext() = 0; - /** - * Release the drawing context of the calling thread. - * \return A boolean success indicator. - */ - virtual GHOST_TSuccess releaseDrawingContext() = 0; + /** + * Release the drawing context of the calling thread. + * \return A boolean success indicator. + */ + virtual GHOST_TSuccess releaseDrawingContext() = 0; #ifdef WITH_CXX_GUARDEDALLOC - MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IContext") + MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IContext") #endif }; -#endif // __GHOST_IContext_H__ +#endif // __GHOST_IContext_H__ |