Back to index

lightning-sunbird  0.9+nobinonly
ProfilesDlg.h
Go to the documentation of this file.
00001 #if !defined(AFX_PROFILESDLG_H__48358887_EBFA_11D4_9905_00B0D0235410__INCLUDED_)
00002 #define AFX_PROFILESDLG_H__48358887_EBFA_11D4_9905_00B0D0235410__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // ProfilesDlg.h : header file
00008 //
00009 
00011 // CNewProfileDlg dialog
00012 
00013 class CNewProfileDlg : public CDialog
00014 {
00015 // Construction
00016 public:
00017        CNewProfileDlg(CWnd* pParent = NULL);   // standard constructor
00018 
00019 // Dialog Data
00020        //{{AFX_DATA(CNewProfileDlg)
00021        enum { IDD = IDD_PROFILE_NEW };
00022        int           m_LocaleIndex;
00023        CString       m_Name;
00024        //}}AFX_DATA
00025 
00026 
00027 // Overrides
00028        // ClassWizard generated virtual function overrides
00029        //{{AFX_VIRTUAL(CNewProfileDlg)
00030        protected:
00031        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00032        //}}AFX_VIRTUAL
00033 
00034 // Implementation
00035 protected:
00036 
00037        // Generated message map functions
00038        //{{AFX_MSG(CNewProfileDlg)
00039               // NOTE: the ClassWizard will add member functions here
00040        //}}AFX_MSG
00041        DECLARE_MESSAGE_MAP()
00042 };
00043 
00045 // CRenameProfileDlg dialog
00046 
00047 class CRenameProfileDlg : public CDialog
00048 {
00049 // Construction
00050 public:
00051        CRenameProfileDlg(CWnd* pParent = NULL);   // standard constructor
00052 
00053 // Dialog Data
00054        //{{AFX_DATA(CRenameProfileDlg)
00055        enum { IDD = IDD_PROFILE_RENAME };
00056        CString       m_NewName;
00057        //}}AFX_DATA
00058 
00059     CString     m_CurrentName;
00060 
00061 // Overrides
00062        // ClassWizard generated virtual function overrides
00063        //{{AFX_VIRTUAL(CRenameProfileDlg)
00064        protected:
00065        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00066        //}}AFX_VIRTUAL
00067 
00068 // Implementation
00069 protected:
00070 
00071        // Generated message map functions
00072        //{{AFX_MSG(CRenameProfileDlg)
00073               // NOTE: the ClassWizard will add member functions here
00074        //}}AFX_MSG
00075        DECLARE_MESSAGE_MAP()
00076 };
00077 
00079 // CProfilesDlg dialog
00080 
00081 class CProfilesDlg : public CDialog
00082 {
00083 // Construction
00084 public:
00085        CProfilesDlg(CWnd* pParent = NULL);   // standard constructor
00086 
00087 // Dialog Data
00088        //{{AFX_DATA(CProfilesDlg)
00089        enum { IDD = IDD_PROFILES };
00090        CListBox      m_ProfileList;
00091     BOOL        m_bAtStartUp;
00092        BOOL       m_bAskAtStartUp;
00093        //}}AFX_DATA
00094 
00095     nsAutoString m_SelectedProfile;
00096 
00097 // Overrides
00098        // ClassWizard generated virtual function overrides
00099        //{{AFX_VIRTUAL(CProfilesDlg)
00100        protected:
00101        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00102        //}}AFX_VIRTUAL
00103 
00104 // Implementation
00105 protected:
00106 
00107        // Generated message map functions
00108        //{{AFX_MSG(CProfilesDlg)
00109        virtual BOOL OnInitDialog();
00110        afx_msg void OnNewProfile();
00111        afx_msg void OnRenameProfile();
00112        afx_msg void OnDeleteProfile();
00113        //}}AFX_MSG
00114        DECLARE_MESSAGE_MAP()
00115 };
00116 
00117 //{{AFX_INSERT_LOCATION}}
00118 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00119 
00120 #endif // !defined(AFX_PROFILESDLG_H__48358887_EBFA_11D4_9905_00B0D0235410__INCLUDED_)