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.

62 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // PakViewFilesFiles.h : header file
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPakViewFiles view
  12. #include <afxcview.h> // MFC clistview
  13. class CPakViewFiles : public CListView
  14. {
  15. protected:
  16. CPakViewFiles(); // protected constructor used by dynamic creation
  17. DECLARE_DYNCREATE(CPakViewFiles)
  18. enum
  19. {
  20. colName,
  21. colSize,
  22. colType
  23. };
  24. // Attributes
  25. public:
  26. CPakDoc* GetDocument()
  27. { return (CPakDoc*)m_pDocument; }
  28. // Operations
  29. public:
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CPakViewFiles)
  33. public:
  34. virtual void OnInitialUpdate();
  35. protected:
  36. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. virtual ~CPakViewFiles();
  41. #ifdef _DEBUG
  42. virtual void AssertValid() const;
  43. virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45. // Generated message map functions
  46. protected:
  47. //{{AFX_MSG(CPakViewFiles)
  48. // NOTE - the ClassWizard will add and remove member functions here.
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. /////////////////////////////////////////////////////////////////////////////