home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / VFORM.ZIP / Samples / vfDao / vfDao.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-10  |  1.5 KB  |  58 lines

  1. // vfDao.h : main header file for the VFDAO application
  2. //
  3.  
  4. #if !defined(AFX_VFDAO_H__29E6CFE7_841F_11D1_88FB_00A0C9050951__INCLUDED_)
  5. #define AFX_VFDAO_H__29E6CFE7_841F_11D1_88FB_00A0C9050951__INCLUDED_
  6.  
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10.  
  11. #ifndef __AFXWIN_H__
  12.     #error include 'stdafx.h' before including this file for PCH
  13. #endif
  14.  
  15. #include "TCKDB.h"
  16. #include "resource.h"       // main symbols
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CVfDaoApp:
  20. // See vfDao.cpp for the implementation of this class
  21. //
  22.  
  23. class CVfDaoApp : public CWinApp
  24. {
  25. private:
  26.     CTckDb        m_db;                // our DAO database
  27.  
  28. public:
  29.     CVfDaoApp();
  30.  
  31.     CDaoDatabase*        GetDB()    { return m_db.GetDb(); }
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CVfDaoApp)
  36.     public:
  37.     virtual BOOL InitInstance();
  38.     //}}AFX_VIRTUAL
  39.  
  40. // Implementation
  41.  
  42.     //{{AFX_MSG(CVfDaoApp)
  43.     afx_msg void OnAppAbout();
  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. extern CVfDaoApp theApp;
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.  
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  56.  
  57. #endif // !defined(AFX_VFDAO_H__29E6CFE7_841F_11D1_88FB_00A0C9050951__INCLUDED_)
  58.