1
////////////////////////////////////////////////////////////////////////////////
2
// Copyright (c) CitizenLab, 2006. All Rights Reserved.
3
// The latest version of this code is available at http://psiphon.civisec.org/
5
// This software is open source; you can redistribute it and/or modify it
6
// under the terms of the GNU General Public License as published by the
7
// Free Software Foundation; either version 2 of the License, or (at your
8
// option) any later version.
10
// This program is distributed WITHOUT ANY WARRANTY; without even the
11
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
// See the GNU General Public License for more details at:
13
// http://psiphon.civisec.org/
15
// This General Public License does NOT permit incorporating this software
16
// into proprietary programs.
17
////////////////////////////////////////////////////////////////////////////////
28
class wxSetupDlg : public wxDialog
30
wxPsiphonDlg* m_pPsiphonDlg;
32
wxLinkDlg* m_pSettingsDlg;
33
wxPrefDlg* m_pPrefDlg;
34
wxCertDlg* m_pCertDlg;
36
bool m_bCertificateChanged;
41
wxSetupDlg(wxPsiphonDlg* _pPsiphonDlg);
43
bool Create(wxWindow* parent);
44
void CreateControls();
45
bool IsCertificateChanged()
47
return m_bCertificateChanged;
51
return m_bLinkChanged;
55
void OnInitDialog(wxInitDialogEvent& event);
56
void OnOK(wxCommandEvent& event);
58
DECLARE_DYNAMIC_CLASS(wxSetupDlg)