#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);
|
};
|