diff options
Diffstat (limited to 'src/Common/UserCache.h')
-rw-r--r-- | src/Common/UserCache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Common/UserCache.h b/src/Common/UserCache.h index cec5ea5..548be2e 100644 --- a/src/Common/UserCache.h +++ b/src/Common/UserCache.h @@ -29,12 +29,15 @@ namespace Mad { namespace Common { +class Application; class UserManager; class UserCache : public UserBackend, private boost::noncopyable { private: friend class UserManager; + Application *application; + boost::shared_ptr<UserBackend> backend; boost::shared_mutex mutex; @@ -72,7 +75,7 @@ class UserCache : public UserBackend, private boost::noncopyable { backend->addUser(userInfo); } - UserCache(boost::shared_ptr<UserBackend> backend0) : backend(backend0) {} + UserCache(Application *application0, boost::shared_ptr<UserBackend> backend0) : application(application0), backend(backend0) {} }; } |