Code::Blocks  SVN r11506
insertclassmethoddlg.h
Go to the documentation of this file.
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 INSERTCLASSMETHODDLG_H
7 #define INSERTCLASSMETHODDLG_H
8 
9 #include <wx/arrstr.h>
10 #include <wx/string.h>
11 
12 #include "scrollingdialog.h"
13 
14 class Parser;
15 class ParserBase;
16 class Token;
17 class wxCheckListBox;
18 class wxCommandEvent;
19 
20 // When instance this class, *MUST* entered a critical section, and should call ShowModal() rather than the other
22 {
23 public:
24  InsertClassMethodDlg(wxWindow* parent, ParserBase* parser, const wxString& filename);
25  virtual ~InsertClassMethodDlg();
26 
27  wxArrayString GetCode() const; // return an array of checked methods
28 
29 private:
30  void FillClasses();
31  void FillMethods();
32  void OnClassesChange(wxCommandEvent& event);
33  void OnCodeChange(wxCommandEvent& event);
34  void OnFilterChange(wxCommandEvent& event);
35 
37  bool m_Decl;
39 
41 };
42 
43 #endif // INSERTCLASSMETHODDLG_H
44 
void OnCodeChange(wxCommandEvent &event)
InsertClassMethodDlg(wxWindow *parent, ParserBase *parser, const wxString &filename)
a symbol found in the parsed files, it can be many kinds, such as a variable, a class and so on...
Definition: token.h:82
wxArrayString GetCode() const
void OnClassesChange(wxCommandEvent &event)
void OnFilterChange(wxCommandEvent &event)
Parser class holds all the tokens of a C::B project.
Definition: parser.h:117