Ver Fonte

add the configuration to the plugin

Sven Czarnian há 2 anos atrás
pai
commit
ac022f55fc
2 ficheiros alterados com 7 adições e 1 exclusões
  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