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

« back to all changes in this revision

Viewing changes to src/plugins/codecompletion/selectincludefile.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 SELECTINCLUDEFILE_H
 
7
#define SELECTINCLUDEFILE_H
 
8
 
 
9
#include <wx/wxprec.h>
 
10
 
 
11
#ifdef __BORLANDC__
 
12
    #pragma hdrstop
 
13
#endif
 
14
 
 
15
#ifndef WX_PRECOMP
 
16
        //(*Headers(SelectIncludeFile)
 
17
        #include <wx/button.h>
 
18
        #include <wx/dialog.h>
 
19
        #include <wx/intl.h>
 
20
        #include <wx/listbox.h>
 
21
        #include <wx/sizer.h>
 
22
        #include <wx/xrc/xmlres.h>
 
23
        //*)
 
24
#endif
 
25
 
 
26
class SelectIncludeFile: public wxDialog
 
27
{
 
28
        public:
 
29
 
 
30
                SelectIncludeFile(wxWindow* parent,wxWindowID id = -1);
 
31
                virtual ~SelectIncludeFile();
 
32
                void AddListEntries(const wxArrayString& IncludeFile);
 
33
                wxString GetIncludeFile() const {return m_SelectedIncludeFile;}
 
34
 
 
35
                //(*Identifiers(SelectIncludeFile)
 
36
                //*)
 
37
 
 
38
        private:
 
39
 
 
40
                //(*Handlers(SelectIncludeFile)
 
41
                void OnOk(wxCommandEvent& event);
 
42
                void OnCancel(wxCommandEvent& event);
 
43
                //*)
 
44
 
 
45
                //(*Declarations(SelectIncludeFile)
 
46
                wxListBox* ListBox1;
 
47
                //*)
 
48
 
 
49
                wxString m_SelectedIncludeFile;
 
50
                DECLARE_EVENT_TABLE()
 
51
};
 
52
 
 
53
#endif // SELECTINCLUDEFILE_H