Team Fortress 2 Source Code as on 22/4/2020
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.

68 lines
1.7 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // vkeyeditDoc.h : interface of the CVkeyeditDoc class
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. #if !defined(AFX_VKEYEDITDOC_H__BC66A515_A393_4A6A_838B_076094A14BC0__INCLUDED_)
  12. #define AFX_VKEYEDITDOC_H__BC66A515_A393_4A6A_838B_076094A14BC0__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. #include <KeyValues.h>
  17. class CVkeyeditDoc : public CDocument
  18. {
  19. protected: // create from serialization only
  20. CVkeyeditDoc();
  21. DECLARE_DYNCREATE(CVkeyeditDoc)
  22. // Attributes
  23. public:
  24. // Operations
  25. public:
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CVkeyeditDoc)
  29. public:
  30. virtual BOOL OnNewDocument();
  31. virtual void Serialize(CArchive& ar);
  32. virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. public:
  36. virtual ~CVkeyeditDoc();
  37. #ifdef _DEBUG
  38. virtual void AssertValid() const;
  39. virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41. protected:
  42. KeyValues *m_pKeyValues;
  43. // Generated message map functions
  44. protected:
  45. //{{AFX_MSG(CVkeyeditDoc)
  46. // NOTE - the ClassWizard will add and remove member functions here.
  47. // DO NOT EDIT what you see in these blocks of generated code !
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_VKEYEDITDOC_H__BC66A515_A393_4A6A_838B_076094A14BC0__INCLUDED_)