2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/FRED2/PrefsDlg.h $
15 * Fred Preferences dialog box handling code
18 * Revision 1.2 2002/06/09 04:41:14 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 6:28p Dave
26 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
27 * Fred. Globalized mission and campaign file extensions. Removed Silent
28 * Threat specific code.
30 * 1 10/07/98 3:01p Dave
32 * 1 10/07/98 3:00p Dave
34 * 2 2/17/97 5:28p Hoffoss
35 * Checked RCS headers, added them were missing, changing description to
36 * something better, etc where needed.
41 /////////////////////////////////////////////////////////////////////////////
44 class CPrefsDlg : public CDialog
48 CPrefsDlg(CWnd* pParent = NULL); // standard constructor
51 //{{AFX_DATA(CPrefsDlg)
52 enum { IDD = IDD_PREFERENCES };
53 BOOL m_ConfirmDeleting;
54 BOOL m_ShowCapitalShips;
55 BOOL m_ShowElevations;
58 BOOL m_ShowMiscObjects;
66 // ClassWizard generated virtual function overrides
67 //{{AFX_VIRTUAL(CPrefsDlg)
69 virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
71 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
77 // Generated message map functions
78 //{{AFX_MSG(CPrefsDlg)
79 afx_msg void OnSaveDefaultPrefs();
80 afx_msg void OnClose();