home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c13 / lab02 / baseline / employeedoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.2 KB  |  51 lines

  1. // EmployeeDoc.h : interface of the CEmployeeDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #include "EmployeePaySet.h"
  5. #include "EmployeePersonalSet.h"
  6.  
  7. class CEmployeeDoc : public CDocument
  8. {
  9. protected: // create from serialization only
  10.     CDatabase m_DB;
  11.     CEmployeeDoc();
  12.     DECLARE_DYNCREATE(CEmployeeDoc)
  13.  
  14. // Attributes
  15. public:
  16.     CEmployeePaySet * GetEmployeePaySet();
  17.     CEmployeePersonalSet * GetEmployeeInfoSet( );
  18.     CEmployeePersonalSet m_employeePersonalInfoSet;
  19.     CEmployeePaySet m_employeePaySet;
  20.  
  21. // Operations
  22. public:
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CEmployeeDoc)
  27.     public:
  28.     virtual BOOL OnNewDocument();
  29.     //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. public:
  33.     virtual ~CEmployeeDoc();
  34. #ifdef _DEBUG
  35.     virtual void AssertValid() const;
  36.     virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38.  
  39. protected:
  40.  
  41. // Generated message map functions
  42. protected:
  43.     //{{AFX_MSG(CEmployeeDoc)
  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. /////////////////////////////////////////////////////////////////////////////
  51.