使用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
#pragma once
#include "stdafx.h"
/************************************************************************/
/* ¹ØÁªmclistµÄAdapter                                                  */
/************************************************************************/ 
class CMBLinkLstAdapter
    : public SAdapterBase
{
public:
    CMBLinkLstAdapter(void);
    ~CMBLinkLstAdapter(void);
private: 
    CMBBaseObjVector         m_vecotrObj;
    CMBServerMgr            *m_pSvrMgr;
public:
    virtual int  getCount();     
    virtual void getView(int position, SWindow * pItem, pugi::xml_node xmlTemplate);    
public:
    void        SetVectorObj( CMBBaseObjVector &vecotrObj ); 
    CMBBaseObj *GetVectorObj( int nIndex ); 
public:
    void    SetItemValue( SWindow *pItem,CString strFileType,CString strName );
    bool    OnItemStateChangedClick(EventArgs *pEvt);
    bool    OnItemLinkClick(EventArgs *pEvt); 
public:
    void    SetSvrMgr(CMBServerMgr  *pSvrMgr);
};