diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-07-01 16:36:27 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-07-01 16:36:27 +0200 |
commit | f66a36de911ca01a0b109a9a145a5b46bebdd0e1 (patch) | |
tree | 0ff46ca2510df2e38cbe174697368720cd9c6c23 /src/Common/UserCache.h | |
parent | c9c2e1401bae1938fe392f6ee0903939b63b050c (diff) | |
download | mad-f66a36de911ca01a0b109a9a145a5b46bebdd0e1.tar mad-f66a36de911ca01a0b109a9a145a5b46bebdd0e1.zip |
UserCache: Ordentliche Debug-Ausgaben
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) {} }; } |