www.pudn.com > MiniFox.rar > AccTreeData.h


#if !defined(AFX_ACCTREEDATA_H__FE597ED3_30C4_45B9_8794_BA264EF160F1__INCLUDED_) 
#define AFX_ACCTREEDATA_H__FE597ED3_30C4_45B9_8794_BA264EF160F1__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// AccTreeData.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CBox document 
 
class CBox : public CObject 
{ 
public: 
	DECLARE_SERIAL(CBox) 
	CBox();           // protected constructor used by dynamic creation 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBox) 
	public: 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	CString m_strFileName;		// The name of the file storing data of the mail box. 
	CString m_strBoxName;		// The name of the mail box. 
	CTypedPtrList < CObList, CBox* > m_boxList;	// List of child boxes of the current box 
	virtual ~CBox(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
// CAccProfile document 
 
class CAccProfile : public CObject 
{ 
	DECLARE_SERIAL( CAccProfile ) 
	CAccProfile();           // protected constructor used by dynamic creation 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAccProfile) 
	public: 
	virtual void Serialize(CArchive& ar);   // overridden for document i/o 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	int m_nNewBoxCount;		// Used to name the newly created box. 
	CString m_strMailPath;	// The directory used to store all the data of the account 
	CString m_strAccName;	// Name of the account. 
	CTypedPtrList < CObList, CBox* > m_boxList;	// The direct child boxes of the account 
	virtual ~CAccProfile(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
}; 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_ACCTREEDATA_H__FE597ED3_30C4_45B9_8794_BA264EF160F1__INCLUDED_)