From df35c9ec8ca9d447f8b99c30c54842f053de6a79 Mon Sep 17 00:00:00 2001 From: Chi Huu Huynh <73843190+Chi-EEE@users.noreply.github.com> Date: Fri, 6 Oct 2023 15:53:56 +0100 Subject: [PATCH] Create Test class for doxygen --- .vscode/extensions.json | 3 ++- backend/src/Test.cpp | 11 +++++++++++ backend/src/Test.h | 28 ++++++++++++++++++++++++++++ backend/src/main.cpp | 2 +- 4 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 backend/src/Test.cpp create mode 100644 backend/src/Test.h diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 4cbbc212..d1131e96 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,6 +5,7 @@ "lllllllqw.jsdoc", "tboox.xmake-vscode", "svelte.svelte-vscode", - "christian-kohler.path-intellisense" + "christian-kohler.path-intellisense", + "fleexo.cpp-class-creator" ] } \ No newline at end of file diff --git a/backend/src/Test.cpp b/backend/src/Test.cpp new file mode 100644 index 00000000..86f4ba05 --- /dev/null +++ b/backend/src/Test.cpp @@ -0,0 +1,11 @@ +#include "Test.h" + +Test::Test() +{ + +} + +Test::~Test() +{ + +} \ No newline at end of file diff --git a/backend/src/Test.h b/backend/src/Test.h new file mode 100644 index 00000000..9a89bec3 --- /dev/null +++ b/backend/src/Test.h @@ -0,0 +1,28 @@ +#ifndef TEST_H +#define TEST_H + +#pragma once + +/** + * @brief Test Class to run DOxygen + * + */ +class Test +{ +public: + /** + * @brief Construct a new Test object + * + */ + Test(); + /** + * @brief Destroy the Test object + * + */ + ~Test(); + +private: + +}; + +#endif \ No newline at end of file diff --git a/backend/src/main.cpp b/backend/src/main.cpp index 5df71da0..c9877439 100644 --- a/backend/src/main.cpp +++ b/backend/src/main.cpp @@ -4,9 +4,9 @@ #include using namespace drogon; + int main() { - app().setLogPath("./") .setLogLevel(trantor::Logger::kWarn) .addListener("0.0.0.0", 9999)