summaryrefslogtreecommitdiffstats
path: root/src/Common/UserDBBackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/UserDBBackend.h')
-rw-r--r--src/Common/UserDBBackend.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Common/UserDBBackend.h b/src/Common/UserDBBackend.h
index 8d4c95a..7ac0ba3 100644
--- a/src/Common/UserDBBackend.h
+++ b/src/Common/UserDBBackend.h
@@ -29,7 +29,6 @@
#include <map>
#include <set>
-#include <string>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/smart_ptr.hpp>
@@ -56,7 +55,7 @@ class UserDBBackend {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
- virtual boost::shared_ptr<const UserInfo> getUserInfoByName(const std::string& /*name*/, boost::posix_time::ptime* /*timestamp*/) throw(Core::Exception) {
+ virtual boost::shared_ptr<const UserInfo> getUserInfoByName(const Core::String& /*name*/, boost::posix_time::ptime* /*timestamp*/) throw(Core::Exception) {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
@@ -73,7 +72,7 @@ class UserDBBackend {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
- virtual boost::shared_ptr<const GroupInfo> getGroupInfoByName(const std::string& /*name*/, boost::posix_time::ptime* /*timestamp*/) throw(Core::Exception) {
+ virtual boost::shared_ptr<const GroupInfo> getGroupInfoByName(const Core::String& /*name*/, boost::posix_time::ptime* /*timestamp*/) throw(Core::Exception) {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
@@ -125,14 +124,14 @@ class UserDBBackend {
}
- virtual void setPassword(unsigned long /*uid*/, const std::string& /*password*/) throw(Core::Exception) {
+ virtual void setPassword(unsigned long /*uid*/, const Core::String& /*password*/) throw(Core::Exception) {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
public:
virtual ~UserDBBackend() {}
- virtual const std::string& getName() = 0;
+ virtual const Core::String& getName() = 0;
};
}