summaryrefslogtreecommitdiffstats
path: root/src/server/events/CreateNode.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/CreateNode.hpp')
-rw-r--r--src/server/events/CreateNode.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/server/events/CreateNode.hpp b/src/server/events/CreateNode.hpp
index bbaf830b..47f86622 100644
--- a/src/server/events/CreateNode.hpp
+++ b/src/server/events/CreateNode.hpp
@@ -19,9 +19,13 @@
#define INGEN_EVENTS_CREATENODE_HPP
#include <string>
-#include "QueuedEvent.hpp"
+
+#include <glibmm/thread.h>
+
#include "ingen/Resource.hpp"
+#include "QueuedEvent.hpp"
+
namespace Ingen {
namespace Server {
@@ -61,7 +65,8 @@ private:
bool _node_already_exists;
bool _polyphonic;
- Resource::Properties _properties;
+ Resource::Properties _properties;
+ Glib::RWLock::WriterLock _lock;
};
} // namespace Server