diff --git a/.clang-format b/.clang-format index 2b27bb2f4aa05f653de31138a2ac2b24a850aa84..b3b525e770051e39a5171dfa7a5753bb9152dcc6 100644 --- a/.clang-format +++ b/.clang-format @@ -32,13 +32,13 @@ BreakBeforeBraces: Custom BraceWrapping: AfterClass: true AfterControlStatement: false - AfterEnum: false + AfterEnum: true AfterFunction: true AfterNamespace: true - AfterObjCDeclaration: false + AfterObjCDeclaration: true AfterStruct: true - AfterUnion: false - AfterExternBlock: false + AfterUnion: true + AfterExternBlock: true BeforeCatch: false BeforeElse: false IndentBraces: false diff --git a/Src/Interfaces/ENUMS.h b/Src/Interfaces/ENUMS.h index f5f003927145a34434fba68d4bb98a212f905586..ff9275f68bb555fbdfaf8eb2e809d3d9c1f363c4 100644 --- a/Src/Interfaces/ENUMS.h +++ b/Src/Interfaces/ENUMS.h @@ -7,7 +7,8 @@ class BT_INTERFACES_API ENUMS : public QObject { Q_OBJECT public: - enum CONTROLLERTYPE : unsigned int { + enum CONTROLLERTYPE : unsigned int + { NO_CTR, MAINWINDOW, TEXTUREOBJECT, @@ -26,7 +27,8 @@ public: }; Q_ENUM(CONTROLLERTYPE) - enum COREPERMISSIONS : unsigned int { + enum COREPERMISSIONS : unsigned int + { COMPONENTVIEW, COMPONENTMOVE, COMPONENTREMOVE,