summaryrefslogtreecommitdiffstats
path: root/src/module/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/module/World.cpp')
-rw-r--r--src/module/World.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/module/World.cpp b/src/module/World.cpp
index 4cdb9272..d8721f5f 100644
--- a/src/module/World.cpp
+++ b/src/module/World.cpp
@@ -176,6 +176,9 @@ struct WorldImpl : public boost::noncopyable {
#ifdef HAVE_SLV2
SLV2World slv2_world;
#endif
+#ifdef INGEN_JACK_SESSION
+ std::string jack_uuid;
+#endif
};
@@ -281,6 +284,23 @@ World::add_interface_factory(const std::string& scheme, InterfaceFactory factory
}
+#ifdef INGEN_JACK_SESSION
+
+void
+World::set_jack_uuid(const std::string& uuid)
+{
+ _impl->jack_uuid = uuid;
+}
+
+
+std::string
+World::jack_uuid()
+{
+ return _impl->jack_uuid;
+}
+
+#endif // INGEN_JACK_SESSION
+
} // namespace Shared
} // namespace Ingen