~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to clientgui/AlreadyExistsPage.h

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Berkeley Open Infrastructure for Network Computing
2
 
// http://boinc.berkeley.edu
3
 
// Copyright (C) 2005 University of California
4
 
//
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.
9
 
//
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.
14
 
//
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
19
 
//
20
 
#ifndef _WIZ_ALREADYEXISTSPAGE_H_
21
 
#define _WIZ_ALREADYEXISTSPAGE_H_
22
 
 
23
 
#if defined(__GNUG__) && !defined(__APPLE__)
24
 
#pragma interface "AlreadyExistsPage.cpp"
25
 
#endif
26
 
 
27
 
/*!
28
 
 * CErrAlreadyExistsPage class declaration
29
 
 */
30
 
 
31
 
class CErrAlreadyExistsPage: public wxWizardPageEx
32
 
{    
33
 
    DECLARE_DYNAMIC_CLASS( CErrAlreadyExistsPage )
34
 
    DECLARE_EVENT_TABLE()
35
 
 
36
 
public:
37
 
    /// Constructors
38
 
    CErrAlreadyExistsPage( );
39
 
 
40
 
    CErrAlreadyExistsPage( CBOINCBaseWizard* parent );
41
 
 
42
 
    /// Creation
43
 
    bool Create( CBOINCBaseWizard* parent );
44
 
 
45
 
    /// Creates the controls and sizers
46
 
    void CreateControls();
47
 
 
48
 
////@begin CErrAlreadyExistsPage event handler declarations
49
 
 
50
 
    /// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
51
 
    void OnPageChanged( wxWizardExEvent& event );
52
 
 
53
 
    /// wxEVT_WIZARD_CANCEL event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
54
 
    void OnCancel( wxWizardExEvent& event );
55
 
 
56
 
////@end CErrAlreadyExistsPage event handler declarations
57
 
 
58
 
////@begin CErrAlreadyExistsPage member function declarations
59
 
 
60
 
    /// Gets the previous page.
61
 
    virtual wxWizardPageEx* GetPrev() const;
62
 
 
63
 
    /// Gets the next page.
64
 
    virtual wxWizardPageEx* GetNext() const;
65
 
 
66
 
    /// Retrieves bitmap resources
67
 
    wxBitmap GetBitmapResource( const wxString& name );
68
 
 
69
 
    /// Retrieves icon resources
70
 
    wxIcon GetIconResource( const wxString& name );
71
 
////@end CErrAlreadyExistsPage member function declarations
72
 
 
73
 
    /// Should we show tooltips?
74
 
    static bool ShowToolTips();
75
 
 
76
 
////@begin CErrAlreadyExistsPage member variables
77
 
    wxStaticText* m_pTitleStaticCtrl;
78
 
    wxStaticText* m_pDirectionsStaticCtrl;
79
 
////@end CErrAlreadyExistsPage member variables
80
 
};
81
 
 
82
 
#endif // _WIZ_ALREADYEXISTSPAGE_H_
 
1
// This file is part of BOINC.
 
2
// http://boinc.berkeley.edu
 
3
// Copyright (C) 2008 University of California
 
4
//
 
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.
 
9
//
 
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.
 
14
//
 
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/>.
 
17
//
 
18
#ifndef _WIZ_ALREADYEXISTSPAGE_H_
 
19
#define _WIZ_ALREADYEXISTSPAGE_H_
 
20
 
 
21
#if defined(__GNUG__) && !defined(__APPLE__)
 
22
#pragma interface "AlreadyExistsPage.cpp"
 
23
#endif
 
24
 
 
25
/*!
 
26
 * CErrAlreadyExistsPage class declaration
 
27
 */
 
28
 
 
29
class CErrAlreadyExistsPage: public wxWizardPageEx
 
30
{    
 
31
    DECLARE_DYNAMIC_CLASS( CErrAlreadyExistsPage )
 
32
    DECLARE_EVENT_TABLE()
 
33
 
 
34
public:
 
35
    /// Constructors
 
36
    CErrAlreadyExistsPage( );
 
37
 
 
38
    CErrAlreadyExistsPage( CBOINCBaseWizard* parent );
 
39
 
 
40
    /// Creation
 
41
    bool Create( CBOINCBaseWizard* parent );
 
42
 
 
43
    /// Creates the controls and sizers
 
44
    void CreateControls();
 
45
 
 
46
////@begin CErrAlreadyExistsPage event handler declarations
 
47
 
 
48
    /// wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
 
49
    void OnPageChanged( wxWizardExEvent& event );
 
50
 
 
51
    /// wxEVT_WIZARD_CANCEL event handler for ID_ERRACCOUNTALREADYEXISTSPAGE
 
52
    void OnCancel( wxWizardExEvent& event );
 
53
 
 
54
////@end CErrAlreadyExistsPage event handler declarations
 
55
 
 
56
////@begin CErrAlreadyExistsPage member function declarations
 
57
 
 
58
    /// Gets the previous page.
 
59
    virtual wxWizardPageEx* GetPrev() const;
 
60
 
 
61
    /// Gets the next page.
 
62
    virtual wxWizardPageEx* GetNext() const;
 
63
 
 
64
    /// Retrieves bitmap resources
 
65
    wxBitmap GetBitmapResource( const wxString& name );
 
66
 
 
67
    /// Retrieves icon resources
 
68
    wxIcon GetIconResource( const wxString& name );
 
69
////@end CErrAlreadyExistsPage member function declarations
 
70
 
 
71
    /// Should we show tooltips?
 
72
    static bool ShowToolTips();
 
73
 
 
74
////@begin CErrAlreadyExistsPage member variables
 
75
    wxStaticText* m_pTitleStaticCtrl;
 
76
    wxStaticText* m_pDirectionsStaticCtrl;
 
77
////@end CErrAlreadyExistsPage member variables
 
78
};
 
79
 
 
80
#endif // _WIZ_ALREADYEXISTSPAGE_H_