diff options
Diffstat (limited to 'src/Common/Backends/NetworkUserBackend.h')
-rw-r--r-- | src/Common/Backends/NetworkUserBackend.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Common/Backends/NetworkUserBackend.h b/src/Common/Backends/NetworkUserBackend.h index 0567514..6c0e94d 100644 --- a/src/Common/Backends/NetworkUserBackend.h +++ b/src/Common/Backends/NetworkUserBackend.h @@ -20,14 +20,14 @@ #ifndef MAD_COMMON_BACKENDS_NETWORKUSERBACKEND_H_ #define MAD_COMMON_BACKENDS_NETWORKUSERBACKEND_H_ -#include "../UserBackend.h" +#include "../UserDBBackend.h" #include "../Request.h" namespace Mad { namespace Common { namespace Backends { -class NetworkUserBackend : public UserBackend { +class NetworkUserBackend : public UserDBBackend { private: class SimpleUserRequest : public Request { private: @@ -110,6 +110,8 @@ class NetworkUserBackend : public UserBackend { : Request(application), type(type0), uid(uid0), gid(gid0) {} }; + static const std::string name; + Application *application; Connection *connection; @@ -137,6 +139,10 @@ class NetworkUserBackend : public UserBackend { public: NetworkUserBackend(Application *application0, Connection *connection0) : application(application0), connection(connection0) {} + + virtual const std::string& getName() { + return name; + } }; } |