CtrlBrowseFile.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // CtrlBrowseFile.h : header file
  13. //
  14. #ifndef CTRLBROWSEFILE_H
  15. #define CTRLBROWSEFILE_H 1
  16. class CPropertyComboBar;
  17. class CWorldEditorDoc;
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CCtrlBrowseFile window
  20. class CCtrlBrowseFile : public CButton
  21. {
  22. // Construction
  23. public:
  24. CCtrlBrowseFile();
  25. // Attributes
  26. public:
  27. // ptr to parent dialog
  28. CPropertyComboBar *m_pDialog;
  29. BOOL m_bFileNameNoDep;
  30. // Operations
  31. public:
  32. // sets ptr to parent dialog
  33. void SetDialogPtr( CPropertyComboBar *pDialog);
  34. CTFileName GetIntersectingFile();
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CCtrlBrowseFile)
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. public:
  41. virtual ~CCtrlBrowseFile();
  42. // Generated message map functions
  43. protected:
  44. //{{AFX_MSG(CCtrlBrowseFile)
  45. afx_msg void OnClicked();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. /////////////////////////////////////////////////////////////////////////////
  50. #endif // CTRLBROWSEFILE_H