From fc3c50063f659584b2145addab8236a479a031b7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 18 May 2009 19:53:51 +0200 Subject: Von sigc++ auf boost-signals migriert --- src/Server/UserManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Server/UserManager.cpp') diff --git a/src/Server/UserManager.cpp b/src/Server/UserManager.cpp index 2f58b7a..d763a8b 100644 --- a/src/Server/UserManager.cpp +++ b/src/Server/UserManager.cpp @@ -34,7 +34,7 @@ bool UserManager::Compare::operator() (const UserBackend *b1, const UserBackend } -bool UserManager::getUserList(const sigc::slot& > &callback) { +bool UserManager::getUserList(const boost::function1& > &callback) { for(std::set::iterator backend = backends.begin(); backend != backends.end(); ++backend) { if((*backend)->getUserList(callback)) return true; @@ -43,7 +43,7 @@ bool UserManager::getUserList(const sigc::slot &callback) { +bool UserManager::getUserInfo(unsigned long uid, const boost::function1 &callback) { for(std::set::iterator backend = backends.begin(); backend != backends.end(); ++backend) { if((*backend)->getUserInfo(uid, callback)) return true; @@ -52,7 +52,7 @@ bool UserManager::getUserInfo(unsigned long uid, const sigc::slot &callback) { +bool UserManager::setPassword(unsigned long uid, const std::string &password, const boost::function1 &callback) { for(std::set::iterator backend = backends.begin(); backend != backends.end(); ++backend) { if((*backend)->setPassword(uid, password, callback)) return true; @@ -61,7 +61,7 @@ bool UserManager::setPassword(unsigned long uid, const std::string &password, co return false; } -bool UserManager::addUser(const Common::UserInfo &userInfo, const sigc::slot &callback) { +bool UserManager::addUser(const Common::UserInfo &userInfo, const boost::function1 &callback) { for(std::set::iterator backend = backends.begin(); backend != backends.end(); ++backend) { if((*backend)->addUser(userInfo, callback)) return true; -- cgit v1.2.3