CSCommon: MMatchAuth.h 소스 파일

MAIET

MMatchAuth.h

00001 #pragma once
00002 
00003 
00004 #define MAUTHINFO_BUFLEN    1024
00005 
00006 
00007 class MMatchAuthInfo {
00008 public:
00009     MMatchAuthInfo()            {}
00010     virtual ~MMatchAuthInfo()   {}
00011 
00012     virtual const char* GetUserID() = 0;
00013     virtual const char* GetUniqueID() = 0;
00014     virtual const char* GetCertificate() = 0;
00015     virtual const char* GetName() = 0;
00016     virtual int GetAge() = 0;
00017     virtual int GetSex() = 0;
00018 };
00019 
00020 class MMatchAuthBuilder {
00021 public:
00022     MMatchAuthBuilder()             {}
00023     virtual ~MMatchAuthBuilder()    {}
00024 
00025     virtual bool ParseAuthInfo(const char* pszData, MMatchAuthInfo** ppoutAutoInfo) = 0;
00026 };


MAIET entertainment