summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.hpp')
-rw-r--r--src/PatchageModule.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index aa25546..e5abe43 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -17,6 +17,7 @@
#ifndef PATCHAGE_PATCHAGEMODULE_HPP
#define PATCHAGE_PATCHAGEMODULE_HPP
+#include "ClientID.hpp"
#include "Configuration.hpp"
#include "warnings.hpp"
@@ -38,6 +39,7 @@ public:
PatchageModule(Patchage* app,
const std::string& name,
ModuleType type,
+ ClientID id,
double x = 0,
double y = 0);
@@ -63,6 +65,7 @@ public:
void store_location(double x, double y);
ModuleType type() const { return _type; }
+ ClientID id() const { return _id; }
const std::string& name() const { return _name; }
protected:
@@ -72,6 +75,7 @@ protected:
Gtk::Menu* _menu;
std::string _name;
ModuleType _type;
+ ClientID _id;
};
#endif // PATCHAGE_PATCHAGEMODULE_HPP