CSCommon: MAsyncDBJob_FriendList.h 소스 파일

MAIET

MAsyncDBJob_FriendList.h

00001 #ifndef _MASYNCDBJOB_FRIENDLIST_H
00002 #define _MASYNCDBJOB_FRIENDLIST_H
00003 
00004 
00005 #include "MAsyncDBJob.h"
00006 
00007 
00008 
00009 class MAsyncDBJob_FriendList : public MAsyncJob {
00010 protected:
00011     MUID            m_uid;
00012     
00013 protected:  // Input Argument
00014     int             m_nCID;
00015 protected:  // Output Result
00016     MMatchFriendInfo*   m_pFriendInfo;
00017 public:
00018     MAsyncDBJob_FriendList(const MUID& uid, int nCID)
00019         : MAsyncJob(MASYNCJOB_FRIENDLIST)
00020     {
00021         m_pFriendInfo = NULL;
00022         m_uid = uid;
00023         m_nCID = nCID;
00024     }
00025     virtual ~MAsyncDBJob_FriendList()   {}
00026 
00027     const MUID& GetUID()            { return m_uid; }
00028     MMatchFriendInfo* GetFriendInfo()           { return m_pFriendInfo; }
00029     void SetFriendInfo(MMatchFriendInfo* pFriendInfo)   { m_pFriendInfo = pFriendInfo; }
00030 
00031     virtual void Run(void* pContext);
00032 };
00033 
00034 
00035 
00036 
00037 
00038 #endif


MAIET entertainment