1
// Berkeley Open Infrastructure for Network Computing
2
// http://boinc.berkeley.edu
3
// Copyright (C) 2005 University of California
5
// This is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation;
8
// either version 2.1 of the License, or (at your option) any later version.
10
// This software is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
// See the GNU Lesser General Public License for more details.
15
// To view the GNU Lesser General Public License visit
16
// http://www.gnu.org/copyleft/lesser.html
17
// or write to the Free Software Foundation, Inc.,
18
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
#ifndef _WIZ_ALREADYEXISTSPAGE_H_
21
#define _WIZ_ALREADYEXISTSPAGE_H_
23
#if defined(__GNUG__) && !defined(__APPLE__)
24
#pragma interface "AlreadyExistsPage.cpp"
28
* CErrAlreadyExistsPage class declaration
31
class CErrAlreadyExistsPage: public wxWizardPageEx
33
DECLARE_DYNAMIC_CLASS( CErrAlreadyExistsPage )
38
CErrAlreadyExistsPage( );
40
CErrAlreadyExistsPage( CBOINCBaseWizard* parent );
43
bool Create( CBOINCBaseWizard* parent );
45
/// Creates the controls and sizers
46
void CreateControls();
48
////@begin CErrAlreadyExistsPage event handler declarations
50
/// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
51
void OnPageChanged( wxWizardExEvent& event );
53
/// wxEVT_WIZARD_CANCEL event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
54
void OnCancel( wxWizardExEvent& event );
56
////@end CErrAlreadyExistsPage event handler declarations
58
////@begin CErrAlreadyExistsPage member function declarations
60
/// Gets the previous page.
61
virtual wxWizardPageEx* GetPrev() const;
63
/// Gets the next page.
64
virtual wxWizardPageEx* GetNext() const;
66
/// Retrieves bitmap resources
67
wxBitmap GetBitmapResource( const wxString& name );
69
/// Retrieves icon resources
70
wxIcon GetIconResource( const wxString& name );
71
////@end CErrAlreadyExistsPage member function declarations
73
/// Should we show tooltips?
74
static bool ShowToolTips();
76
////@begin CErrAlreadyExistsPage member variables
77
wxStaticText* m_pTitleStaticCtrl;
78
wxStaticText* m_pDirectionsStaticCtrl;
79
////@end CErrAlreadyExistsPage member variables
82
#endif // _WIZ_ALREADYEXISTSPAGE_H_
1
// This file is part of BOINC.
2
// http://boinc.berkeley.edu
3
// Copyright (C) 2008 University of California
5
// BOINC is free software; you can redistribute it and/or modify it
6
// under the terms of the GNU Lesser General Public License
7
// as published by the Free Software Foundation,
8
// either version 3 of the License, or (at your option) any later version.
10
// BOINC is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
// See the GNU Lesser General Public License for more details.
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
18
#ifndef _WIZ_ALREADYEXISTSPAGE_H_
19
#define _WIZ_ALREADYEXISTSPAGE_H_
21
#if defined(__GNUG__) && !defined(__APPLE__)
22
#pragma interface "AlreadyExistsPage.cpp"
26
* CErrAlreadyExistsPage class declaration
29
class CErrAlreadyExistsPage: public wxWizardPageEx
31
DECLARE_DYNAMIC_CLASS( CErrAlreadyExistsPage )
36
CErrAlreadyExistsPage( );
38
CErrAlreadyExistsPage( CBOINCBaseWizard* parent );
41
bool Create( CBOINCBaseWizard* parent );
43
/// Creates the controls and sizers
44
void CreateControls();
46
////@begin CErrAlreadyExistsPage event handler declarations
48
/// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
49
void OnPageChanged( wxWizardExEvent& event );
51
/// wxEVT_WIZARD_CANCEL event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
52
void OnCancel( wxWizardExEvent& event );
54
////@end CErrAlreadyExistsPage event handler declarations
56
////@begin CErrAlreadyExistsPage member function declarations
58
/// Gets the previous page.
59
virtual wxWizardPageEx* GetPrev() const;
61
/// Gets the next page.
62
virtual wxWizardPageEx* GetNext() const;
64
/// Retrieves bitmap resources
65
wxBitmap GetBitmapResource( const wxString& name );
67
/// Retrieves icon resources
68
wxIcon GetIconResource( const wxString& name );
69
////@end CErrAlreadyExistsPage member function declarations
71
/// Should we show tooltips?
72
static bool ShowToolTips();
74
////@begin CErrAlreadyExistsPage member variables
75
wxStaticText* m_pTitleStaticCtrl;
76
wxStaticText* m_pDirectionsStaticCtrl;
77
////@end CErrAlreadyExistsPage member variables
80
#endif // _WIZ_ALREADYEXISTSPAGE_H_