diff --git a/.clang-format b/.clang-format index 8a2753a..9d0feb9 100644 --- a/.clang-format +++ b/.clang-format @@ -16,7 +16,7 @@ BraceWrapping: AfterNamespace: true AfterStruct: true AfterUnion: true - AfterExternBlock: false + AfterExternBlock: true BeforeCatch: true BeforeElse: true BeforeLambdaBody: true @@ -38,6 +38,7 @@ IncludeCategories: - Regex: '.*' Priority: 3 IncludeIsMainRegex: '([-_](test|unittest))?$' +IndentAccessModifiers: True IndentCaseBlocks: true InsertNewlineAtEOF: true MacroBlockBegin: '' @@ -50,4 +51,5 @@ SpacesInConditionalStatement: false SpacesInCStyleCastParentheses: false SpacesInParentheses: false TabWidth: 2 +AccessModifierOffset: 1 ... diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c31e3c..509755c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,8 @@ add_executable(App ./src/main.cpp ./src/helpers/helpers.h ./src/helpers/helpers.cpp ./src/endpoints_handlers/HandleRequest.h + ./src/endpoints_handlers/AuthController.h + ./src/endpoints_handlers/AuthController.cpp ./src/session/HttpSession.h ./src/session/HttpSession.cpp ./src/session/WebsocketSession.h diff --git a/Nihilus.xml b/Nihilus.xml new file mode 100644 index 0000000..13e08d1 --- /dev/null +++ b/Nihilus.xml @@ -0,0 +1,112 @@ + + \ No newline at end of file diff --git a/src/endpoints_handlers/AuthController.cpp b/src/endpoints_handlers/AuthController.cpp new file mode 100644 index 0000000..49b92e5 --- /dev/null +++ b/src/endpoints_handlers/AuthController.cpp @@ -0,0 +1,7 @@ + + +#include "AuthController.h" + +namespace uad +{ +} diff --git a/src/endpoints_handlers/AuthController.h b/src/endpoints_handlers/AuthController.h new file mode 100644 index 0000000..897e717 --- /dev/null +++ b/src/endpoints_handlers/AuthController.h @@ -0,0 +1,9 @@ +namespace uad +{ +template +class AuthController +{ + public: + virtual ~AuthController() = default; +}; +}