/usr/include/wxsmith/wxwidgets/wxsnewwindowdlg.h is in libwxsmithlib-dev 10.05-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | /*
* This file is part of wxSmith plugin for Code::Blocks Studio
* Copyright (C) 2006-2007 Bartlomiej Swiecki
*
* wxSmith is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* wxSmith is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
*
* $Revision: 6104 $
* $Id: wxsnewwindowdlg.h 6104 2010-01-23 12:56:12Z mortenmacfly $
* $HeadURL: svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/contrib/wxSmith/wxwidgets/wxsnewwindowdlg.h $
*/
#ifndef WXSNEWWINDOWDLG_H
#define WXSNEWWINDOWDLG_H
//(*Headers(wxsNewWindowDlg)
#include <wx/combobox.h>
#include <wx/checkbox.h>
#include <wx/sizer.h>
#include <wx/button.h>
#include "scrollingdialog.h"
#include <wx/stattext.h>
#include <wx/textctrl.h>
//*)
#include "wxsitemres.h"
class wxsItemResData;
class wxsProject;
class wxsNewWindowDlg : public wxScrollingDialog
{
public:
wxsNewWindowDlg(wxWindow* parent,const wxString& ResType,wxsProject* Project);
virtual ~wxsNewWindowDlg();
//(*Identifiers(wxsNewWindowDlg)
static const long ID_STATICTEXT1;
static const long ID_TEXTCTRL1;
static const long ID_STATICTEXT2;
static const long ID_TEXTCTRL2;
static const long ID_STATICTEXT3;
static const long ID_TEXTCTRL3;
static const long ID_CHECKBOX1;
static const long ID_TEXTCTRL4;
static const long ID_CHECKBOX3;
static const long ID_BUTTON1;
static const long ID_CHECKBOX2;
static const long ID_COMBOBOX1;
static const long ID_STATICTEXT11;
static const long ID_TEXTCTRL8;
static const long ID_CHECKBOX4;
static const long ID_TEXTCTRL5;
static const long ID_STATICTEXT4;
static const long ID_TEXTCTRL6;
static const long ID_STATICTEXT7;
static const long ID_STATICTEXT8;
static const long ID_STATICTEXT9;
static const long ID_STATICTEXT10;
static const long ID_BUTTON2;
static const long ID_BUTTON3;
static const long ID_BUTTON4;
static const long ID_STATICTEXT5;
static const long ID_CHECKBOX5;
static const long ID_CHECKBOX9;
static const long ID_CHECKBOX6;
static const long ID_CHECKBOX10;
static const long ID_CHECKBOX7;
static const long ID_CHECKBOX11;
static const long ID_CHECKBOX8;
static const long ID_CHECKBOX12;
static const long ID_STATICTEXT6;
static const long ID_TEXTCTRL7;
static const long ID_CHECKBOX14;
static const long ID_CHECKBOX13;
//*)
protected:
//(*Handlers(wxsNewWindowDlg)
void OnCreate(wxCommandEvent& event);
void OnCancel(wxCommandEvent& event);
void OnClassChanged(wxCommandEvent& event);
void OnSourceChanged(wxCommandEvent& event);
void OnHeaderChanged(wxCommandEvent& evend);
void OnUseXrcChange(wxCommandEvent& event);
void OnXrcChanged(wxCommandEvent& event);
void OnUsePCHClick(wxCommandEvent& event);
void OnCtorParentClick(wxCommandEvent& event);
void OnCtorIdClick(wxCommandEvent& event);
void OnCtorPosClick(wxCommandEvent& event);
void OnCtorSizeClick(wxCommandEvent& event);
void OnCtorParentDefClick(wxCommandEvent& event);
void OnCtorIdDefClick(wxCommandEvent& event);
void OnCtorPosDefClick(wxCommandEvent& event);
void OnCtorSizeDefClick(wxCommandEvent& event);
void OnUseInitFuncClick(wxCommandEvent& event);
void OnAdvOpsClick(wxCommandEvent& event);
void OnScopeIdsClick(wxCommandEvent& event);
void OnScopeMembersClick(wxCommandEvent& event);
void OnScopeHandlersClick(wxCommandEvent& event);
//*)
//(*Declarations(wxsNewWindowDlg)
wxCheckBox* m_UseInitFunc;
wxTextCtrl* m_InitFunc;
wxFlexGridSizer* FlexGridSizer1;
wxFlexGridSizer* FlexGridSizer2;
wxCheckBox* m_CtorParentDef;
wxCheckBox* m_CtorSize;
wxTextCtrl* m_Xrc;
wxCheckBox* m_CtorIdDef;
wxButton* m_ScopeHandlers;
wxCheckBox* m_AddWxs;
wxButton* m_ScopeMembers;
wxCheckBox* m_UseFwdDecl;
wxCheckBox* m_CtorPos;
wxTextCtrl* m_CtorCustom;
wxFlexGridSizer* FlexGridSizer4;
wxStaticText* StaticText10;
wxStaticBoxSizer* StaticBoxSizer3;
wxBoxSizer* m_RootSizer;
wxCheckBox* m_CtorSizeDef;
wxComboBox* m_Pch;
wxFlexGridSizer* FlexGridSizer3;
wxStaticText* StaticText8;
wxStaticBoxSizer* m_AdvancedOptionsSizer;
wxStaticText* StaticText7;
wxCheckBox* m_CtorParent;
wxTextCtrl* m_PchGuard;
wxStaticText* StaticText4;
wxBoxSizer* BoxSizer1;
wxStaticText* StaticText5;
wxTextCtrl* m_Source;
wxTextCtrl* m_BaseClass;
wxStaticText* StaticText6;
wxCheckBox* m_CtorPosDef;
wxTextCtrl* m_Class;
wxCheckBox* m_XRCAutoload;
wxCheckBox* m_CtorId;
wxButton* m_AdvOps;
wxButton* m_ScopeIds;
wxCheckBox* m_UseXrc;
wxTextCtrl* m_Header;
wxStaticText* StaticText9;
wxStdDialogButtonSizer* StdDialogButtonSizer1;
wxStaticText* StaticText11;
wxCheckBox* m_UsePCH;
//*)
virtual bool PrepareResource(wxsItemRes* Res,wxsItemResData* Data);
wxString DetectPchFile();
private:
bool m_SourceNotTouched;
bool m_HeaderNotTouched;
bool m_XrcNotTouched;
bool m_BlockText;
bool m_AdvOpsShown;
bool m_AppManaged;
wxString m_Type;
wxsProject* m_Project;
wxString m_SourceDirectory;
wxsItemRes::NewResourceParams::Scope m_ScopeIdsVal;
wxsItemRes::NewResourceParams::Scope m_ScopeMembersVal;
wxsItemRes::NewResourceParams::Scope m_ScopeHandlersVal;
void UpdateScopeButtons();
DECLARE_EVENT_TABLE()
};
#endif
|