NameDlg.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. #if !defined(AFX_NAMEDLG_H__624F3290_976A_48A9_AE89_50CD1E6E2F9A__INCLUDED_)
  19. #define AFX_NAMEDLG_H__624F3290_976A_48A9_AE89_50CD1E6E2F9A__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. // NameDlg.h : header file
  24. //
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CNameDlg dialog
  27. class CNameDlg : public CDialog
  28. {
  29. CString m_strCaption;
  30. // Construction
  31. public:
  32. CNameDlg(const char *pName, CWnd* pParent = NULL); // standard constructor
  33. // Dialog Data
  34. //{{AFX_DATA(CNameDlg)
  35. enum { IDD = IDD_NEWNAME };
  36. CString m_strName;
  37. //}}AFX_DATA
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(CNameDlg)
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CNameDlg)
  48. virtual void OnOK();
  49. virtual BOOL OnInitDialog();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_NAMEDLG_H__624F3290_976A_48A9_AE89_50CD1E6E2F9A__INCLUDED_)