summaryrefslogtreecommitdiffstats
path: root/src/modules/UserListManager/UserListManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/UserListManager/UserListManager.cpp')
-rw-r--r--src/modules/UserListManager/UserListManager.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/modules/UserListManager/UserListManager.cpp b/src/modules/UserListManager/UserListManager.cpp
index e947e24..deb6214 100644
--- a/src/modules/UserListManager/UserListManager.cpp
+++ b/src/modules/UserListManager/UserListManager.cpp
@@ -75,6 +75,14 @@ void UserListManager::storeUserList(const std::string &name, const UserList *lis
application->getStorageManager()->store("UserList", name, &data);
}
+void UserListManager::copyUserList(const std::string &fromName, const std::string &toName) {
+ application->getStorageManager()->copy("UserList", fromName, toName);
+}
+
+void UserListManager::renameUserList(const std::string &fromName, const std::string &toName) {
+ application->getStorageManager()->rename("UserList", fromName, toName);
+}
+
void UserListManager::removeUserList(const std::string &name) {
application->getStorageManager()->remove("UserList", name);
}
@@ -100,6 +108,14 @@ void UserListManager::storeUserListDiff(const std::string &name, const UserListD
application->getStorageManager()->store("UserListDiff", name, &data);
}
+void UserListManager::copyUserListDiff(const std::string &fromName, const std::string &toName) {
+ application->getStorageManager()->copy("UserListDiff", fromName, toName);
+}
+
+void UserListManager::renameUserListDiff(const std::string &fromName, const std::string &toName) {
+ application->getStorageManager()->rename("UserListDiff", fromName, toName);
+}
+
void UserListManager::removeUserListDiff(const std::string &name) {
application->getStorageManager()->remove("UserListDiff", name);
}