Code::Blocks
SVN r11506
plugins
codecompletion
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
21
class
InsertClassMethodDlg
:
public
wxScrollingDialog
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
36
ParserBase
*
m_Parser
;
37
bool
m_Decl
;
38
wxString
m_Filename
;
39
40
DECLARE_EVENT_TABLE
();
41
};
42
43
#endif // INSERTCLASSMETHODDLG_H
44
InsertClassMethodDlg::OnCodeChange
void OnCodeChange(wxCommandEvent &event)
Definition:
insertclassmethoddlg.cpp:187
InsertClassMethodDlg::DECLARE_EVENT_TABLE
DECLARE_EVENT_TABLE()
InsertClassMethodDlg::m_Filename
wxString m_Filename
Definition:
insertclassmethoddlg.h:38
InsertClassMethodDlg::FillMethods
void FillMethods()
Definition:
insertclassmethoddlg.cpp:155
string.h
InsertClassMethodDlg::InsertClassMethodDlg
InsertClassMethodDlg(wxWindow *parent, ParserBase *parser, const wxString &filename)
Definition:
insertclassmethoddlg.cpp:92
InsertClassMethodDlg::m_Decl
bool m_Decl
Definition:
insertclassmethoddlg.h:37
wxScrollingDialog
Definition:
scrollingdialog.h:163
scrollingdialog.h
InsertClassMethodDlg::~InsertClassMethodDlg
virtual ~InsertClassMethodDlg()
Definition:
insertclassmethoddlg.cpp:104
wxCommandEvent
ParserBase
Definition:
parser_base.h:124
InsertClassMethodDlg::FillClasses
void FillClasses()
Definition:
insertclassmethoddlg.cpp:133
InsertClassMethodDlg
Definition:
insertclassmethoddlg.h:21
Token
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
wxString
InsertClassMethodDlg::GetCode
wxArrayString GetCode() const
Definition:
insertclassmethoddlg.cpp:109
InsertClassMethodDlg::m_Parser
ParserBase * m_Parser
Definition:
insertclassmethoddlg.h:36
InsertClassMethodDlg::OnClassesChange
void OnClassesChange(wxCommandEvent &event)
Definition:
insertclassmethoddlg.cpp:182
InsertClassMethodDlg::OnFilterChange
void OnFilterChange(wxCommandEvent &event)
Definition:
insertclassmethoddlg.cpp:192
wxCheckListBox
arrstr.h
wxArrayString
wxWindow
Parser
Parser class holds all the tokens of a C::B project.
Definition:
parser.h:117
Generated by
1.8.13