使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 0408576e9da10015ffa9da0079b8c985113ce4b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#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 );  // ÒƳý²Ù×÷
};