// PeeperDoc.h : interface of the CPeeperDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PEEPERDOC_H__FE2BE47B_38A3_4754_80C9_4D44A27826B8__INCLUDED_)
#define AFX_PEEPERDOC_H__FE2BE47B_38A3_4754_80C9_4D44A27826B8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include"PathManager.h"
#include"HNode.h"

class CPeeperDoc : public CDocument
{
protected: // create from serialization only
	CPeeperDoc();
	DECLARE_DYNCREATE(CPeeperDoc)

	CString DspPath;

	// Attributes
public:
	bool Parsed;

	void DoParse();
	CPathManager PathMan;
	HNode	FileTree;
	CString GetDspPath() {return DspPath;}

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPeeperDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPeeperDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CPeeperDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PEEPERDOC_H__FE2BE47B_38A3_4754_80C9_4D44A27826B8__INCLUDED_)
