summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-27 18:22:56 +0000
committerDavid Robillard <d@drobilla.net>2009-05-27 18:22:56 +0000
commit0c1576d21588ece4e226da04523f36adac3a14c3 (patch)
treec7ad62136724b44b654e9d2c08fd20c89473a65f /src/shared
parentc11ecf0fd10641218326ae384e80413ba3cdf46c (diff)
downloadingen-0c1576d21588ece4e226da04523f36adac3a14c3.tar.gz
ingen-0c1576d21588ece4e226da04523f36adac3a14c3.tar.bz2
ingen-0c1576d21588ece4e226da04523f36adac3a14c3.zip
Rename 'destroy' 'delete' ('del' in code) (WebDAV DELETE).
Rename 'rename' 'move' (WebDAV MOVE). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2012 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ClashAvoider.cpp10
-rw-r--r--src/shared/ClashAvoider.hpp6
2 files changed, 8 insertions, 8 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index e553364b..c7e08269 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -151,10 +151,10 @@ ClashAvoider::put(const Raul::Path& path,
void
-ClashAvoider::rename(const Raul::Path& old_path,
- const Raul::Path& new_path)
+ClashAvoider::move(const Raul::Path& old_path,
+ const Raul::Path& new_path)
{
- _target.rename(map_path(old_path), map_path(new_path));
+ _target.move(map_path(old_path), map_path(new_path));
}
@@ -210,9 +210,9 @@ ClashAvoider::set_voice_value(const Raul::Path& port_path,
void
-ClashAvoider::destroy(const Raul::Path& path)
+ClashAvoider::del(const Raul::Path& path)
{
- _target.destroy(map_path(path));
+ _target.del(map_path(path));
}
diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp
index 007331bc..2fc4b13b 100644
--- a/src/shared/ClashAvoider.hpp
+++ b/src/shared/ClashAvoider.hpp
@@ -51,8 +51,8 @@ public:
virtual void put(const Raul::Path& path,
const Resource::Properties& properties);
- virtual void rename(const Raul::Path& old_path,
- const Raul::Path& new_path);
+ virtual void move(const Raul::Path& old_path,
+ const Raul::Path& new_path);
virtual void connect(const Raul::Path& src_port_path,
const Raul::Path& dst_port_path);
@@ -75,7 +75,7 @@ public:
uint32_t voice,
const Raul::Atom& value);
- virtual void destroy(const Raul::Path& path);
+ virtual void del(const Raul::Path& path);
virtual void clear_patch(const Raul::Path& patch_path);