summaryrefslogtreecommitdiffstats
path: root/src/Common/UserBackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/UserBackend.h')
-rw-r--r--src/Common/UserBackend.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Common/UserBackend.h b/src/Common/UserBackend.h
index 8375551..9983ee0 100644
--- a/src/Common/UserBackend.h
+++ b/src/Common/UserBackend.h
@@ -37,10 +37,12 @@
namespace Mad {
namespace Common {
+class UserCache;
class UserManager;
class UserBackend {
protected:
+ friend class UserCache;
friend class UserManager;
UserBackend() {}
@@ -86,12 +88,12 @@ class UserBackend {
throw(Core::Exception(Core::Exception::NOT_IMPLEMENTED));
}
+ public:
+ virtual ~UserBackend() {}
+
virtual int getPriority() const {
return 0;
}
-
- public:
- virtual ~UserBackend() {}
};
}