home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / catalog / cataldoc.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  49 lines

  1. // cataldoc.h : interface of the CCatalogDoc class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. class CCatalogDoc : public CDocument
  16. {
  17. protected: // create from serialization only
  18.     CCatalogDoc();
  19.     DECLARE_DYNCREATE(CCatalogDoc)
  20.  
  21. // Attributes
  22. public:
  23.     CTables m_tableSet;
  24.  
  25. // Operations
  26. public:
  27.  
  28. // Implementation
  29. public:
  30.     virtual ~CCatalogDoc();
  31. #ifdef _DEBUG
  32.     virtual void AssertValid() const;
  33.     virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35.  
  36. protected:
  37.     virtual BOOL OnNewDocument();
  38.  
  39. // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CCatalogDoc)
  42.         // NOTE - the ClassWizard will add and remove member functions here.
  43.         //    DO NOT EDIT what you see in these blocks of generated code !
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49.