~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/headerfixup/configuration.h

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
 
3
 * http://www.gnu.org/licenses/lgpl-3.0.html
 
4
 */
 
5
 
 
6
#ifndef CONFIGURATION_H
 
7
#define CONFIGURATION_H
 
8
 
 
9
#include <wx/wxprec.h>
 
10
 
 
11
#ifdef __BORLANDC__
 
12
#pragma hdrstop
 
13
#endif
 
14
 
 
15
//(*Headers(Configuration)
 
16
#include <wx/panel.h>
 
17
class wxTextCtrl;
 
18
class wxListBox;
 
19
class wxStaticText;
 
20
class wxBoxSizer;
 
21
class wxButton;
 
22
class wxStaticBoxSizer;
 
23
//*)
 
24
 
 
25
#include <wx/event.h>
 
26
#include <wx/string.h>
 
27
 
 
28
#include <configurationpanel.h>
 
29
#include "bindings.h"
 
30
 
 
31
class wxWindow;
 
32
 
 
33
class Configuration: public cbConfigurationPanel
 
34
{
 
35
public:
 
36
 
 
37
  Configuration(wxWindow* parent,wxWindowID id = -1);
 
38
  virtual ~Configuration();
 
39
 
 
40
  //(*Identifiers(Configuration)
 
41
  static const long ID_LST_GROUPS;
 
42
  static const long ID_BTN_ADD_GROUP;
 
43
  static const long ID_BTN_DELETE_GROUP;
 
44
  static const long ID_BTN_RENAME_GROUP;
 
45
  static const long ID_BTN_DEFAULTS;
 
46
  static const long ID_LBL_IDENTIFIERS;
 
47
  static const long ID_LST_IDENTIFIERS;
 
48
  static const long ID_BTN_ADD_IDENTIFIER;
 
49
  static const long ID_BTN_DELETE_IDENTIFIERS;
 
50
  static const long ID_BTN_CHANGE_IDENTIFIER;
 
51
  static const long ID_LBL_HEADERS;
 
52
  static const long ID_TXT_HEADERS;
 
53
  //*)
 
54
 
 
55
protected:
 
56
 
 
57
  //(*Handlers(Configuration)
 
58
  void OnBtnAddGroupClick(wxCommandEvent& event);
 
59
  void OnBtnDeleteGroupClick(wxCommandEvent& event);
 
60
  void OnRenameGroup(wxCommandEvent& event);
 
61
  void OnGroupsSelect(wxCommandEvent& event);
 
62
  void OnBtnAddIdentifierClick(wxCommandEvent& event);
 
63
  void OnBtnDeleteIdentifierClick(wxCommandEvent& event);
 
64
  void OnChangeIdentifier(wxCommandEvent& event);
 
65
  void OnIdentifiersSelect(wxCommandEvent& event);
 
66
  void OnHeadersText(wxCommandEvent& event);
 
67
  void OnBtnDefaultsClick(wxCommandEvent& event);
 
68
  //*)
 
69
 
 
70
  //(*Declarations(Configuration)
 
71
  wxButton* m_DeleteIdentifier;
 
72
  wxBoxSizer* sizMain;
 
73
  wxListBox* m_Groups;
 
74
  wxListBox* m_Identifiers;
 
75
  wxBoxSizer* sizHeaders;
 
76
  wxBoxSizer* sizAddDeleteChange;
 
77
  wxTextCtrl* m_Headers;
 
78
  wxButton* m_ChangeIdentifier;
 
79
  wxButton* m_DeleteGroup;
 
80
  wxButton* m_RenameGroup;
 
81
  wxButton* m_AddIdentifier;
 
82
  wxButton* m_AddGroup;
 
83
  wxButton* m_Defaults;
 
84
  wxStaticBoxSizer* sizGroups;
 
85
  wxStaticText* lblHeaders;
 
86
  wxBoxSizer* sizIdentifiers;
 
87
  wxBoxSizer* sizAddDeleteRename;
 
88
  wxBoxSizer* sizIdentifiersVert;
 
89
  wxStaticBoxSizer* sizBindings;
 
90
  wxBoxSizer* sizIdentifiersHor;
 
91
  wxStaticText* lblIdentifiers;
 
92
  //*)
 
93
 
 
94
private:
 
95
 
 
96
  void ShowGroups();
 
97
  void SelectGroup(int Number);
 
98
  void SelectIdentifier(int Number);
 
99
  virtual wxString GetTitle() const
 
100
  { return _("HeaderFixup configuration"); }
 
101
  virtual wxString GetBitmapBaseName() const
 
102
  { return _T("generic-plugin"); }
 
103
  virtual void OnApply();
 
104
  virtual void OnCancel()
 
105
  { }
 
106
 
 
107
  Bindings m_Bindings;
 
108
  bool     m_BlockHeadersText;
 
109
 
 
110
  DECLARE_EVENT_TABLE()
 
111
};
 
112
 
 
113
#endif