使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 4905e2e7537d507f218e8e9595485e09d9f3a2b4
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
47
48
49
50
51
52
53
54
55
56
#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 ); // µÃµ½ÎĵµÐÅÏ¢
};