diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a29153b..5d0db1a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,6 +11,8 @@ SET(SOURCE_FILES ArrivalMANagerMain.cpp PlugIn.cpp PlugIn.h + RadarScreen.cpp + RadarScreen.h stdafx.cpp stdafx.h ) diff --git a/src/RadarScreen.cpp b/src/RadarScreen.cpp new file mode 100644 index 0000000..261b8db --- /dev/null +++ b/src/RadarScreen.cpp @@ -0,0 +1,23 @@ +/* + * Author: + * Sven Czarnian + * Brief: + * Implements the RADAR display of EuroScope + * Copyright: + * 2021 Sven Czarnian + * License: + * GNU General Public License v3 (GPLv3) + */ + +#include "stdafx.h" + +#include "RadarScreen.h" + +using namespace aman; + +RadarScreen::RadarScreen() : + EuroScopePlugIn::CRadarScreen() { } + +RadarScreen::~RadarScreen() { } + +void RadarScreen::OnAsrContentToBeClosed() { } diff --git a/src/RadarScreen.h b/src/RadarScreen.h new file mode 100644 index 0000000..13450b4 --- /dev/null +++ b/src/RadarScreen.h @@ -0,0 +1,41 @@ +/* + * @brief Defines the EuroScope RADAR screen + * @file src/RadarScreen.h + * @author Sven Czarnian + * @copyright Copyright 2021 Sven Czarnian + * @license This project is published under the GNU General Public License v3 (GPLv3) + */ + +#pragma once + +#pragma warning(push, 0) +#include +#pragma warning(pop) + +namespace aman { + /** + * @brief Defines the RADAR screen + * @ingroup euroscope + */ + class RadarScreen : public EuroScopePlugIn::CRadarScreen { + public: + /** + * @brief Creates a new RADAR screen + */ + RadarScreen(); + /** + * @brief Destroys the internal structure + */ + virtual ~RadarScreen(); + + RadarScreen(const RadarScreen&) = delete; + RadarScreen(RadarScreen&&) = delete; + RadarScreen& operator=(const RadarScreen&) = delete; + RadarScreen& operator=(RadarScreen&&) = delete; + + /** + * @brief Called as soon as the ASR file is closed + */ + void OnAsrContentToBeClosed() override; + }; +}