~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to deprecated/management/profile-editor/src/AboutDialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-08-10 18:12:34 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110810181234-b6obckg60cp99crg
Tags: upstream-2.7.0~beta1+bzr1774
ImportĀ upstreamĀ versionĀ 2.7.0~beta1+bzr1774

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _ABOUTDIALOG_H_
2
 
#define _ABOUTDIALOG_H_
3
 
 
4
 
#define VERSION_STRING _("AppArmor Profile Editor version 0.9")
5
 
#define GPL_STRING _(" \
6
 
Portions of this software (C) 1998-2003 by Neil Hodgson <neilh@scintilla.org>\n\n \
7
 
This rest of this program is free software; you can redistribute it and/or modify \
8
 
it under the terms of the GNU General Public License as published by \
9
 
the Free Software Foundation; either version 2 of the License, or \
10
 
(at your option) any later version. \
11
 
\n\n \
12
 
This program is distributed in the hope that it will be useful, \
13
 
but WITHOUT ANY WARRANTY; without even the implied warranty of \
14
 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the \
15
 
GNU General Public License for more details. \
16
 
\n\n \
17
 
You should have received a copy of the GNU General Public License \
18
 
along with this program; if not, write to the Free Software \
19
 
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA \
20
 
")
21
 
 
22
 
/**
23
 
 * The "About" dialog
24
 
 */
25
 
class AboutDialog: public wxDialog
26
 
{    
27
 
        DECLARE_DYNAMIC_CLASS(AboutDialog)
28
 
        DECLARE_EVENT_TABLE()
29
 
        
30
 
public:
31
 
        AboutDialog();
32
 
        AboutDialog(wxWindow* parent, 
33
 
                        wxWindowID id = wxID_ANY,
34
 
                        const wxString& caption = _T("About"), 
35
 
                        const wxPoint& pos = wxDefaultPosition, 
36
 
                        const wxSize& size = wxSize(400, 300), 
37
 
                        long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX);
38
 
        bool Create(wxWindow* parent, 
39
 
                        wxWindowID id = wxID_ANY,
40
 
                        const wxString& caption = _T("About"), 
41
 
                        const wxPoint& pos = wxDefaultPosition, 
42
 
                        const wxSize& size = wxSize(400, 300), 
43
 
                        long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX);
44
 
        void CreateControls();
45
 
        
46
 
private:
47
 
        wxStaticBitmap* mpLogoBitmap;
48
 
        wxStaticText* mpVersionStaticText;
49
 
        wxStaticText* mpCopyrightStaticText;
50
 
        wxStdDialogButtonSizer* mpOkButtonSizer;
51
 
        wxTextCtrl* mpLicenseTextCtrl;
52
 
        wxButton* mpOkButton;
53
 
};
54
 
 
55
 
#endif
56
 
// _ABOUTDIALOG_H_