Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.4 KiB

  1. // hostDoc.h : interface of the CHostDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_HOSTDOC_H__3EEEAED0_B73F_4D0F_A260_3A3DF9773606__INCLUDED_)
  5. #define AFX_HOSTDOC_H__3EEEAED0_B73F_4D0F_A260_3A3DF9773606__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CHostDoc : public CDocument
  10. {
  11. protected: // create from serialization only
  12. CHostDoc();
  13. DECLARE_DYNCREATE(CHostDoc)
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CHostDoc)
  21. public:
  22. virtual BOOL OnNewDocument();
  23. virtual void Serialize(CArchive& ar);
  24. //}}AFX_VIRTUAL
  25. // Implementation
  26. public:
  27. CString m_sDBName;
  28. CString m_sDBQuery;
  29. CString m_sPath;
  30. virtual ~CHostDoc();
  31. #ifdef _DEBUG
  32. virtual void AssertValid() const;
  33. virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35. protected:
  36. // Generated message map functions
  37. protected:
  38. //{{AFX_MSG(CHostDoc)
  39. // NOTE - the ClassWizard will add and remove member functions here.
  40. // DO NOT EDIT what you see in these blocks of generated code !
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. /////////////////////////////////////////////////////////////////////////////
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_HOSTDOC_H__3EEEAED0_B73F_4D0F_A260_3A3DF9773606__INCLUDED_)