Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

insertclassmethoddlg.h

/*
 * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
 * http://www.gnu.org/licenses/gpl-3.0.html
 */

#ifndef INSERTCLASSMETHODDLG_H
#define INSERTCLASSMETHODDLG_H

#include <wx/arrstr.h>
#include "scrollingdialog.h"
#include <wx/string.h>

class Parser;
class Token;
class wxCheckListBox;
class wxCommandEvent;

00018 class InsertClassMethodDlg : public wxScrollingDialog
{
      public:
            InsertClassMethodDlg(wxWindow* parent, Parser* parser, const wxString& filename);
            virtual ~InsertClassMethodDlg();

        wxArrayString GetCode() const; // return an array of checked methods
      private:
        void FillClasses();
        void FillMethods();
        void DoFillMethodsFor(wxCheckListBox* clb,
                                Token* parentToken,
                                const wxString& ns,
                                bool includePrivate,
                                bool includeProtected,
                                bool includePublic);
        void OnClassesChange(wxCommandEvent& event);
        void OnCodeChange(wxCommandEvent& event);
        void OnFilterChange(wxCommandEvent& event);

        Parser* m_pParser;
        bool m_Decl;
        wxString m_Filename;
        DECLARE_EVENT_TABLE();
};

#endif // INSERTCLASSMETHODDLG_H


Generated by  Doxygen 1.6.0   Back to index