1
/* ***** BEGIN LICENSE BLOCK *****
2
* Version: Mozilla-sample-code 1.0
4
* Copyright (c) 2002 Netscape Communications Corporation and
7
* Permission is hereby granted, free of charge, to any person obtaining a
8
* copy of this Mozilla sample software and associated documentation files
9
* (the "Software"), to deal in the Software without restriction, including
10
* without limitation the rights to use, copy, modify, merge, publish,
11
* distribute, sublicense, and/or sell copies of the Software, and to permit
12
* persons to whom the Software is furnished to do so, subject to the
13
* following conditions:
15
* The above copyright notice and this permission notice shall be included
16
* in all copies or substantial portions of the Software.
18
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24
* DEALINGS IN THE SOFTWARE.
28
* ***** END LICENSE BLOCK ***** */
30
#if !defined(AFX_PROFILESDLG_H__48358887_EBFA_11D4_9905_00B0D0235410__INCLUDED_)
31
#define AFX_PROFILESDLG_H__48358887_EBFA_11D4_9905_00B0D0235410__INCLUDED_
35
#endif // _MSC_VER > 1000
36
// ProfilesDlg.h : header file
39
/////////////////////////////////////////////////////////////////////////////
40
// CNewProfileDlg dialog
42
class CNewProfileDlg : public CDialog
46
CNewProfileDlg(CWnd* pParent = NULL); // standard constructor
49
//{{AFX_DATA(CNewProfileDlg)
50
enum { IDD = IDD_PROFILE_NEW };
57
// ClassWizard generated virtual function overrides
58
//{{AFX_VIRTUAL(CNewProfileDlg)
60
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
66
// Generated message map functions
67
//{{AFX_MSG(CNewProfileDlg)
68
// NOTE: the ClassWizard will add member functions here
73
/////////////////////////////////////////////////////////////////////////////
74
// CRenameProfileDlg dialog
76
class CRenameProfileDlg : public CDialog
80
CRenameProfileDlg(CWnd* pParent = NULL); // standard constructor
83
//{{AFX_DATA(CRenameProfileDlg)
84
enum { IDD = IDD_PROFILE_RENAME };
88
CString m_CurrentName;
91
// ClassWizard generated virtual function overrides
92
//{{AFX_VIRTUAL(CRenameProfileDlg)
94
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
100
// Generated message map functions
101
//{{AFX_MSG(CRenameProfileDlg)
102
// NOTE: the ClassWizard will add member functions here
104
DECLARE_MESSAGE_MAP()
107
/////////////////////////////////////////////////////////////////////////////
108
// CProfilesDlg dialog
110
class CProfilesDlg : public CDialog
114
CProfilesDlg(CWnd* pParent = NULL); // standard constructor
117
//{{AFX_DATA(CProfilesDlg)
118
enum { IDD = IDD_PROFILES };
119
CListBox m_ProfileList;
121
BOOL m_bAskAtStartUp;
124
nsAutoString m_SelectedProfile;
127
// ClassWizard generated virtual function overrides
128
//{{AFX_VIRTUAL(CProfilesDlg)
130
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
136
// Generated message map functions
137
//{{AFX_MSG(CProfilesDlg)
138
virtual BOOL OnInitDialog();
139
afx_msg void OnNewProfile();
140
afx_msg void OnRenameProfile();
141
afx_msg void OnDeleteProfile();
142
afx_msg void OnDblclkProfile();
144
DECLARE_MESSAGE_MAP()
147
//{{AFX_INSERT_LOCATION}}
148
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
150
#endif // !defined(AFX_PROFILESDLG_H__48358887_EBFA_11D4_9905_00B0D0235410__INCLUDED_)