www.pudn.com > acdx.rar > CallBacklog.h
/*============================================================= Function: Author: Leon Wang==============================================================*/ // CallBacklog.h: interface for the CCallBacklog class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_CALLBACKLOG_H__C613DCA2_15EE_4775_9D32_3C874BF9AE92__INCLUDED_) #define AFX_CALLBACKLOG_H__C613DCA2_15EE_4775_9D32_3C874BF9AE92__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "GkClient.h" #include "ACDConfig.h" #include "pendingrequest.h" #include #include "agent.h" #include class PendingRequest; //##ModelId=424BB6460259 typedef std::list
aList; //##ModelId=424BB646025B typedef std::vector pendList; //--> need pendrequest class class GkClient; class ACDConfig; #pragma warning(disable: 4786) //##ModelId=424BB6460278 class CCallBacklog { public: //##ModelId=424BB6460279 CCallBacklog(); //##ModelId=424BB646027A CCallBacklog(GkClient* _gkclient); //##ModelId=424BB6460288 virtual ~CCallBacklog(); //##ModelId=424BB646028A void store(CString queue, CString callerEndId, CString callRef, CString callerAlias, CString callerIp, int status) ; //##ModelId=424BB64602A7 void expire(); //##ModelId=424BB64602A8 void checkPending(Agent* agent,aList & _aliasList); //##ModelId=424BB64602AB void removeAllRequests(CString epid); //##ModelId=424BB64602B8 CString dumpPendingList(); private: //##ModelId=424BB64602BA GkClient* gkclient;// = NULL; //##ModelId=424BB64602C7 ACDConfig* config ;//= NULL; //SortedSet pendingList = new TreeSet(); //##ModelId=424BB64602D7 pendList pendingList; }; #endif // !defined(AFX_CALLBACKLOG_H__C613DCA2_15EE_4775_9D32_3C874BF9AE92__INCLUDED_)