Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.7 KiB

  1. // ncbrowseDoc.h : interface of the CNcbrowseDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_NCBROWSEDOC_H__1E78AE56_354D_4B11_AF48_A3D07DA3AC47__INCLUDED_)
  5. #define AFX_NCBROWSEDOC_H__1E78AE56_354D_4B11_AF48_A3D07DA3AC47__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. using namespace std;
  10. #include "ncspewfile.h"
  11. class CLeftView;
  12. class CNcbrowseView;
  13. class CNCEditView;
  14. class CNcbrowseDoc : public CDocument
  15. {
  16. protected: // create from serialization only
  17. CNcbrowseDoc();
  18. DECLARE_DYNCREATE(CNcbrowseDoc)
  19. // Attributes
  20. public:
  21. CNCSpewFile *m_pNCSpewFile;
  22. CLeftView* m_pTreeView;
  23. CNcbrowseView* m_pListView;
  24. CNCEditView *m_pEditView;
  25. // Operations
  26. public:
  27. CNCSpewFile &GetSpewFile();
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CNcbrowseDoc)
  31. public:
  32. virtual BOOL OnNewDocument();
  33. virtual void Serialize(CArchive& ar);
  34. virtual void OnCloseDocument();
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. virtual ~CNcbrowseDoc();
  39. #ifdef _DEBUG
  40. virtual void AssertValid() const;
  41. virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43. protected:
  44. // Generated message map functions
  45. protected:
  46. //{{AFX_MSG(CNcbrowseDoc)
  47. // NOTE - the ClassWizard will add and remove member functions here.
  48. // DO NOT EDIT what you see in these blocks of generated code !
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. /////////////////////////////////////////////////////////////////////////////
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_NCBROWSEDOC_H__1E78AE56_354D_4B11_AF48_A3D07DA3AC47__INCLUDED_)