home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / common / msdev98 / bin / ide / devgal.pkg / TEMPLATE / 22343 < prev    next >
Encoding:
Text File  |  1998-06-18  |  1.3 KB  |  53 lines

  1. // $$VAL:BaseDocHeader$$ : interface of the $$VAL:BaseDocClass$$ class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #ifndef $$VAL:BaseDocWrapper$$
  6. #define $$VAL:BaseDocWrapper$$
  7.  
  8. class $$VAL:BaseDocClass$$ : public CDocument
  9. {
  10. protected: // create from serialization only
  11.     $$VAL:BaseDocClass$$();
  12.     DECLARE_DYNCREATE($$VAL:BaseDocClass$$)
  13.  
  14. // Attributes
  15. public:
  16.  
  17. // Operations
  18. public:
  19.     HENHMETAFILE GetMetaFile () const { return m_hMetaFile; }
  20.  
  21. // Overrides
  22.     // ClassWizard generated virtual function overrides
  23.     //{{AFX_VIRTUAL($$VAL:BaseDocClass$$)
  24.     public:
  25.     virtual BOOL OnNewDocument();
  26.     virtual void OnCloseDocument();
  27.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  28.     //}}AFX_VIRTUAL
  29.  
  30. // Implementation
  31. public:
  32.     virtual ~$$VAL:BaseDocClass$$();
  33. #ifdef _DEBUG
  34.     virtual void AssertValid() const;
  35.     virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37.  
  38. protected:
  39.     HENHMETAFILE m_hMetaFile;
  40.  
  41. // Generated message map functions
  42. protected:
  43.     //{{AFX_MSG($$VAL:BaseDocClass$$)
  44.         // NOTE - the ClassWizard will add and remove member functions here.
  45.         //    DO NOT EDIT what you see in these blocks of generated code !
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. #endif        // $$VAL:BaseDocWrapper$$
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.