Loading src/client.cpp +2 −0 Changes for src/client.cpp: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -26,3 +26,5 @@ *******************************************************************************/ #include "client.h" src/client.h +15 −1 Changes for src/client.h: 15 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -25,11 +25,25 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ #include "authdb.h" #include "hash.h" #pragma once namespace authdb { class Client { class ClientData : public AuthData { public: void setName(const char* name); const char *getName(); void setClientKey(const Hash &key); const Hash& getClientKey(); private: AuthData::Record *ClientName; AuthData::Record *ClientKey; }; class Client { }; }; Loading
src/client.cpp +2 −0 Changes for src/client.cpp: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -26,3 +26,5 @@ *******************************************************************************/ #include "client.h"
src/client.h +15 −1 Changes for src/client.h: 15 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -25,11 +25,25 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ #include "authdb.h" #include "hash.h" #pragma once namespace authdb { class Client { class ClientData : public AuthData { public: void setName(const char* name); const char *getName(); void setClientKey(const Hash &key); const Hash& getClientKey(); private: AuthData::Record *ClientName; AuthData::Record *ClientKey; }; class Client { }; };