home *** CD-ROM | disk | FTP | other *** search
- // EmployeeDoc.h : interface of the CEmployeeDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CEmployeeDoc : public CDocument
- {
- protected: // create from serialization only
- CEmployeeDoc();
- DECLARE_DYNCREATE(CEmployeeDoc)
- CDatabase m_DB;
-
- // Attributes
- public:
- CEmployeePersonalSet m_employeePersonalInfoSet;
- CEmployeePersonalSet * GetEmployeeInfoSet( )
- {
- return & m_employeePersonalInfoSet;
- }
-
- CEmployeePaySet m_employeePaySet;
- CEmployeePaySet * GetEmployeePaySet()
- {
- return & m_employeePaySet;
- }
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CEmployeeDoc)
- public:
- virtual BOOL OnNewDocument();
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CEmployeeDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CEmployeeDoc)
- // 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()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-