#pragma once
|
#include "stdafx.h"
|
#include "MBCatalogMgr.h"
|
#include "MBDocMgr.h"
|
#include "MBRecycleBinInfo.h"
|
|
|
#define DMS_PREDEFNAME_RECYCLEBIN _T("»ØÊÕÕ¾")
|
|
class CMBCabinetInfo;
|
// m_strID
|
typedef map<CString, CMBCabinetInfo*> CMBCabinetInfoMap;
|
//typedef list<CMBCabinetInfo * > CMBCabinetInfoList;
|
typedef vector<CMBCabinetInfo *> CMBCabinetInfoVector;
|
|
/************************************************************************/
|
/* Îĵµ¹ñÐÅÏ¢ */
|
/************************************************************************/
|
class AFX_EXT_CLASS CMBCabinetInfo
|
:public CMBBaseCabinetObj
|
{
|
DECLARE_DYNAMIC(CMBCabinetInfo)
|
public:
|
CMBCabinetInfo(void);
|
~CMBCabinetInfo(void);
|
private:
|
CMBCatalogMgr *m_pCatalogMgr; // Ŀ¼¹ÜÀíÆ÷
|
CMBDocMgr *m_pDocMgr; // Îļþ¹ÜÀíÆ÷
|
public:
|
CString m_strPType; // ¸¸ÏîÀàÐÍ
|
CString m_strPID; // ¸¸ÏîID
|
CString m_strPName; // ¸¸ÏîÃû³Æ
|
CString m_strUsed; // ʹÓÃÕß
|
CString m_strDocState; // Îļþ״̬
|
CString m_strEnableDocMonitor; // Îĵµ¼à¿Ø
|
CString m_strFTR; //ftr
|
CString m_strMemo; // memo
|
CString m_strIsUnit; // 1,Êǵ¥Î»£¬·ñÔòÊDz¿ÃÅ
|
public:
|
CMBCatalogMgr *GetCatalogMgr(); // µÃµ½Ä¿Â¼¹ÜÀíÆ÷
|
CMBDocMgr *GetDocMgr(); // µÃµ½Îļþ¹ÜÀíÆ÷
|
CMBRecycleBinInfo *m_pRecycleBinInfo;// »ØÊÕÕ¾
|
|
public:
|
virtual void Abst(){};
|
public:
|
void AttachSuper( CMBBaseCabinetObj *pCabinetObj ); // ÒÀ¸½ÓÚ³¬Àà
|
bool RemoveCatalogInfoOnCabinet( CMBCatalogInfo *pCatalogInfo ); // ´ÓÎĵµ¹ñÖÐÒÆ³ýĿ¼
|
bool RemoveDocInfoOnCabinet( CMBDocInfo *pDocInfo ); // ´ÓÎĵµ¹ñÖÐÒÆ³ýÎļþ
|
bool RemoveCatalogInfoOnCabinet( CString strID ); // ´ÓÎĵµ¹ñÖÐÒÆ³ýĿ¼
|
bool RemoveDocInfoOnCabinet( CString strID ); // ´ÓÎĵµ¹ñÖÐÒÆ³ýÎļþ
|
CMBCatalogInfo *MatchServerPath( const CString & strServerPath,CString &strMatchPath ); // Æ¥Åäserverpath
|
public:
|
CMBCatalogInfo *GetCatalogBySvrPath( CString strSvrPath ); // ͨ¹ý·þÎñ·¾¶£¬µÃµ½Ä¿Â¼
|
CMBDocInfo *GetDocInfo( CString strSvrPath,CString strDocID ); // µÃµ½ÎĵµÐÅÏ¢
|
};
|