From bf6f4d0a409ba76e65d375ef75533d6a6062a228 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Aug 2008 04:29:57 +0000 Subject: Only load one serialisation module, and store it in the world. git-svn-id: http://svn.drobilla.net/lad/ingen@1398 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/shared/Store.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libs/shared/Store.hpp') diff --git a/src/libs/shared/Store.hpp b/src/libs/shared/Store.hpp index ec29e7c0..f0a89024 100644 --- a/src/libs/shared/Store.hpp +++ b/src/libs/shared/Store.hpp @@ -19,6 +19,7 @@ #define COMMON_STORE_H #include +#include #include #include "interface/GraphObject.hpp" @@ -39,6 +40,11 @@ public: SharedPtr find_child(SharedPtr parent, const std::string& child_name) const; + + Glib::RWLock& lock() { return _lock; } + +private: + Glib::RWLock _lock; }; -- cgit v1.2.1