diff options
Diffstat (limited to 'src/Server/UserManager.h')
-rw-r--r-- | src/Server/UserManager.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Server/UserManager.h b/src/Server/UserManager.h index 3c4097b..d0e7074 100644 --- a/src/Server/UserManager.h +++ b/src/Server/UserManager.h @@ -25,7 +25,7 @@ #include <map> #include <set> -#include <sigc++/slot.h> +#include <boost/function.hpp> namespace Mad { namespace Server { @@ -54,12 +54,12 @@ class UserManager { } - bool getUserList(const sigc::slot<void, const std::map<unsigned long, Common::UserInfo>& > &callback); - bool getUserInfo(unsigned long uid, const sigc::slot<void, const Common::UserInfo&> &callback); + bool getUserList(const boost::function1<void, const std::map<unsigned long, Common::UserInfo>& > &callback); + bool getUserInfo(unsigned long uid, const boost::function1<void, const Common::UserInfo&> &callback); - bool setPassword(unsigned long uid, const std::string &password, const sigc::slot<void, bool> &callback); + bool setPassword(unsigned long uid, const std::string &password, const boost::function1<void, bool> &callback); - bool addUser(const Common::UserInfo &userInfo, const sigc::slot<void, bool> &callback); + bool addUser(const Common::UserInfo &userInfo, const boost::function1<void, bool> &callback); static UserManager *get() { |