#pragma once
|
#include "stdafx.h"
|
//#include "MBServerReqest.h"
|
|
/************************************************************************/
|
/* MoboxWeb·þÎñ¹ÜÀí */
|
/************************************************************************/
|
|
class AFX_EXT_CLASS CMBMoboxWebCMgr
|
{
|
public:
|
CMBMoboxWebCMgr(void);
|
~CMBMoboxWebCMgr(void);
|
private:
|
CMoboxWebCMgr m_MoboxWebCMgr;
|
CMoboxWebCAsynMgr m_MoboxWebCAsynMgr;
|
CMapServerTrID m_mapServerTrID;
|
private:
|
CString m_strServerIP; // ·þÎñµØÖ·
|
UINT m_nPort; // ·þÎñ¶Ë¿Ú
|
CString m_strUserLogin; // µÇ¼Ãû
|
CString m_strUserName; // Óû§Ãû³Æ
|
public:
|
void SetServerInfo( CString strServerIP, UINT nPort ); // ÉèÖÃͬ²½ºÍÒì²½µÄ·þÎñÐÅÏ¢
|
void SetUserInfo( CString strUserLogin, CString strUserName); // ÉèÖÃͬ²½ºÍÒì²½µÄÓû§ÐÅÏ¢
|
public: // Òì²½
|
bool AppGetAreaList_Asyn( REQLOADSERVER_ITEM &reqLoadServerItem ); // µÃµ½Ó¦ÓÃÁìÓòÁбí
|
bool AppGetAreaFuncTree_Asyn( REQLOADSERVER_ITEM &reqLoadServerItem, CString strAreaID ); // µÃµ½Ó¦ÓÃÁìÓòµÄ¹¦ÄÜÊ÷
|
bool AppGetAreaFuncTree2_Asyn(REQLOADSERVER_ITEM &reqLoadServerItem, CString strAreaName); // µÃµ½Ó¦ÓÃÁìÓòµÄ¹¦ÄÜÊ÷2
|
public:// ͬ²½
|
bool AppGetAreaList( CString &strAreaList,CString &strErrInfo,bool bNeedAce = true,bool bJson = false);// µÃµ½Ó¦ÓÃÁìÓòÁбí
|
bool AppGetAreaFuncTree( CString strAreaID, CString &strFuncInfo,CString &strErrInfo,
|
bool bNeedAce = true, bool bJson = false );// µÃµ½Ó¦ÓÃÁìÓòµÄ¹¦ÄÜÊ÷
|
bool AppGetAreaFuncTree2( CString strAreaName, CString &strFuncInfo,CString &strErrInfo,bool bNeedAce = true, bool bJson = false );
|
|
// ÌáÐÑ Ïà¹Ø²Ù×÷
|
// ÌáÐÑ ----------------------------------------------------------------
|
bool RemindCreate( CString strRemindDef, CString &strRemindID,CString &strErrInfo );
|
bool RemindMsgSetReaded2( CString strRemindID,CString &strErrInfo );
|
// »áÒé Ïà¹Ø²Ù×÷
|
// »áÒé ----------------------------------------------------------------
|
bool MeetInviteRes( CString strMeetID, CString strAttitude,CString &strErrInfo, CString strReason = _T( "" ) );
|
public:
|
bool GetServerTrID( long nTrID, REQLOADSERVER_ITEM & reLoadServerItem ); // »ñµÃ²Ù×÷ʱµÄÊý¾Ý
|
bool RemoveServerTrID( long nTrID ); // ÒÆ³ý²Ù×÷
|
};
|