Browse Source

add the configuration to the plugin

Sven Czarnian 3 years ago
parent
commit
ac022f55fc
2 changed files with 7 additions and 1 deletions
  1. 3 1
      src/PlugIn.cpp
  2. 4 0
      src/PlugIn.h

+ 3 - 1
src/PlugIn.cpp

@@ -20,6 +20,8 @@ PlugIn::PlugIn() :
                                  PLUGIN_NAME,
                                  PLUGIN_VERSION,
                                  PLUGIN_DEVELOPER,
-                                 PLUGIN_COPYRIGHT) { }
+                                 PLUGIN_COPYRIGHT),
+        m_configuration() {
+}
 
 PlugIn::~PlugIn() noexcept { }

+ 4 - 0
src/PlugIn.h

@@ -14,6 +14,8 @@
 #include <EuroScopePlugIn.h>
 #pragma warning(pop)
 
+#include <aman/types/Communication.h>
+
 namespace aman {
     /**
      * @brief Defines the EuroScope plug-in
@@ -31,6 +33,8 @@ namespace aman {
         enum class TagItemElement {
         };
 
+        Communication m_configuration;
+
     public:
         /**
          * @brief Creates a new plug-in