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

astyleconfigdlg.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 ASTYLECONFIGDLG_H
#define ASTYLECONFIGDLG_H

#include <wx/intl.h>
#include "astylepredefinedstyles.h"
#include "configurationpanel.h"

00013 class AstyleConfigDlg : public cbConfigurationPanel
{
      public:
            AstyleConfigDlg(wxWindow* parent);
            virtual ~AstyleConfigDlg();

      protected:
        void OnStyleChange(wxCommandEvent& event);
        void OnPreview(wxCommandEvent& event);

00023         virtual wxString GetTitle() const { return _("Source formatter"); }
00024         virtual wxString GetBitmapBaseName() const { return _T("astyle-plugin"); }
00025         virtual void OnApply(){ SaveSettings(); }
00026         virtual void OnCancel(){}

        void LoadSettings();
        void SaveSettings();
        void SetStyle(AStylePredefinedStyle style);

      private:
        DECLARE_EVENT_TABLE()
};

#endif // ASTYLECONFIGDLG_H

Generated by  Doxygen 1.6.0   Back to index