40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TArchAppDocGlobals 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TArchAppDocGlobals 声明
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _TARCHAPPDOCGLOBALS_H_
|
|
#define _TARCHAPPDOCGLOBALS_H_
|
|
|
|
#ifndef _TDPTRLIST_H_
|
|
#include "TDPtrList.h"
|
|
#endif
|
|
|
|
#ifndef _TARCHPERDOCDATA_H_
|
|
#include "TArchPerDocData.h"
|
|
#endif
|
|
|
|
class TArchDocReactor;
|
|
class TArchLayoutReactor;
|
|
|
|
//所有文档状态列表
|
|
class TArchAppDocGlobals: public TDPtrList<TArchPerDocData>
|
|
{
|
|
public:
|
|
TArchAppDocGlobals();
|
|
void InitDocGlobals(AcApDocument* pDoc);
|
|
void RemoveDocGlobals(AcApDocument *pDoc);
|
|
void OnUnloadApp();
|
|
|
|
static CMapPtrToPtr g_mapGlobalsDb2Reactor; //文档数据库列表
|
|
private:
|
|
TArchDocReactor *m_pDocReactor;
|
|
TArchLayoutReactor *m_pLayoutReactor;
|
|
};
|
|
|
|
#endif |