~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/contrib/cb_koders/kodersdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
 
3
 * http://www.gnu.org/licenses/gpl-3.0.html
 
4
 */
 
5
 
 
6
#ifndef KODERSDIALOG_H
 
7
#define KODERSDIALOG_H
 
8
 
 
9
#include <wx/wxprec.h>
 
10
 
 
11
//(*Headers(KodersDialog)
 
12
#include <wx/button.h>
 
13
#include <wx/choice.h>
 
14
#include <wx/dialog.h>
 
15
#include <wx/sizer.h>
 
16
#include <wx/stattext.h>
 
17
#include <wx/textctrl.h>
 
18
//*)
 
19
 
 
20
class KodersDialog: public wxDialog
 
21
{
 
22
        public:
 
23
 
 
24
                KodersDialog(wxWindow* parent,wxWindowID id = -1);
 
25
                virtual ~KodersDialog();
 
26
 
 
27
                void     SetSearch(const wxString &search);
 
28
                wxString GetSearch() const;
 
29
                wxString GetLanguage() const;
 
30
                wxString GetLicense() const;
 
31
 
 
32
                //(*Identifiers(KodersDialog)
 
33
                static const long ID_LBL_INTRO;
 
34
                static const long ID_TXT_SEARCH;
 
35
                static const long ID_BTN_SEARCH;
 
36
                static const long ID_LBL_FILTER;
 
37
                static const long ID_CHO_LANGUAGES;
 
38
                static const long ID_CHO_LICENSES;
 
39
                //*)
 
40
 
 
41
        protected:
 
42
 
 
43
                //(*Handlers(KodersDialog)
 
44
                void OnBtnSearchClick(wxCommandEvent& event);
 
45
                //*)
 
46
 
 
47
                //(*Declarations(KodersDialog)
 
48
                wxBoxSizer* bszMain;
 
49
                wxBoxSizer* bszIntro;
 
50
                wxStaticText* lblIntro;
 
51
                wxBoxSizer* bszSearch;
 
52
                wxTextCtrl* txtSearch;
 
53
                wxButton* btnSearch;
 
54
                wxBoxSizer* bszFilter;
 
55
                wxStaticText* lblFilter;
 
56
                wxChoice* choLanguages;
 
57
                wxChoice* choLicenses;
 
58
                //*)
 
59
 
 
60
        private:
 
61
 
 
62
                DECLARE_EVENT_TABLE()
 
63
};
 
64
 
 
65
#endif // KODERSDIALOG_H