| 1 |
#ifndef FUNCTIONSPARSER_H |
| 2 |
#define FUNCTIONSPARSER_H |
| 3 |
|
| 4 |
#include "wxc_widget.h" |
| 5 |
#include <cpp_scanner.h> |
| 6 |
|
| 7 |
class FunctionsParser |
| 8 |
{ |
| 9 |
CppScanner m_scanner; |
| 10 |
wxcWidget::Map_t m_allEvents; |
| 11 |
wxString m_classname; |
| 12 |
|
| 13 |
protected: |
| 14 |
void CheckIfFunctionsExists(const wxString& name); |
| 15 |
int ReadClassName(wxString& clsname); |
| 16 |
|
| 17 |
public: |
| 18 |
FunctionsParser(wxcWidget::Map_t& connectedEvents, const wxString& clsname, const wxString& header); |
| 19 |
virtual ~FunctionsParser(); |
| 20 |
|
| 21 |
const wxcWidget::Map_t& GetAllEvents() const { return m_allEvents; } |
| 22 |
void Parse(); |
| 23 |
}; |
| 24 |
|
| 25 |
#endif // FUNCTIONSPARSER_H |