From 1b29f20d73d839c324cf4ce2df61d2e857617383 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Apr 2012 19:20:53 +0000 Subject: Implement connecting via atom interface. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4285 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Path.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'raul/Path.hpp') diff --git a/raul/Path.hpp b/raul/Path.hpp index 91122c6..a00740a 100644 --- a/raul/Path.hpp +++ b/raul/Path.hpp @@ -134,6 +134,9 @@ public: Path operator+(const Path& p) const { return child(p); } + /** Return the lowest common ancestor of a and b. */ + static Path lca(const Path& a, const Path& b); + /** Return the symbol of this path (everything after the last '/'). * This is e.g. the "method name" for OSC paths, the filename * for filesystem paths, etc. -- cgit v1.2.1