home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // DsgnIntf.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: DsgnIntf.pas
- //----------------------------------------------------------------------------
- #ifndef DsgnIntfHPP
- #define DsgnIntfHPP
- //----------------------------------------------------------------------------
- #ifndef TypInfoHPP
- #include <TypInfo.hpp>
- #endif
-
- #ifndef FormsHPP
- #include <Forms.hpp>
- #endif
-
- #ifndef ControlsHPP
- #include <Controls.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Dsgnintf
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TComponentList;
- class __declspec(pascalimplementation) TComponentList : public System::TObject
- {
- typedef TComponentList ThisClass;
- typedef System::TObject inherited;
-
- private:
- Classes::TList *FList;
- Classes::TComponent *__fastcall Get(System::Integer Index);
- System::Integer __fastcall GetCount(void);
-
- public:
- __fastcall TComponentList(void);
- __fastcall virtual ~TComponentList(void);
- System::Integer __fastcall Add(Classes::TComponent *Item);
- System::Boolean __fastcall Equals(TComponentList *List);
- __property System::Integer Count = {read=GetCount, nodefault};
- __property Classes::TComponent * Items[System::Integer Index] = {read=Get/*, default*/};
- };
-
- class __declspec(delphiclass) TFormDesigner;
- class __declspec(pascalimplementation) TFormDesigner : public Forms::TDesigner
- {
- typedef TFormDesigner ThisClass;
- typedef Forms::TDesigner inherited;
-
- public:
- virtual Sysutils::TMethod __fastcall CreateMethod(const System::AnsiString Name, Typinfo::PTypeData
- TypeData) = 0;
- virtual System::AnsiString __fastcall GetMethodName(const Sysutils::TMethod &Method) = 0;
- virtual void __fastcall GetMethods(Typinfo::PTypeData TypeData, Classes::TGetStrProc Proc) = 0;
- virtual System::AnsiString __fastcall GetPrivateDirectory(void) = 0;
- virtual void __fastcall GetSelections(TComponentList *List) = 0;
- virtual System::Boolean __fastcall MethodExists(const System::AnsiString Name) = 0;
- virtual void __fastcall RenameMethod(const System::AnsiString CurName, const System::AnsiString NewName
- ) = 0;
- virtual void __fastcall SelectComponent(Classes::TComponent *Component) = 0;
- virtual void __fastcall SetSelections(TComponentList *List) = 0;
- virtual void __fastcall ShowMethod(const System::AnsiString Name) = 0;
- virtual System::AnsiString __fastcall UniqueName(const System::AnsiString BaseName) = 0;
- virtual void __fastcall GetComponentNames(Typinfo::PTypeData TypeData, Classes::TGetStrProc Proc) = 0
- ;
- virtual Classes::TComponent *__fastcall GetComponent(const System::AnsiString Name) = 0;
- virtual System::AnsiString __fastcall GetComponentName(Classes::TComponent *Component) = 0;
- virtual System::Boolean __fastcall MethodFromAncestor(const Sysutils::TMethod &Method) = 0;
- virtual Classes::TComponent *__fastcall CreateComponent(System::TMetaClass * ComponentClass, Classes::TComponent *
- Parent, System::Integer Left, System::Integer Top, System::Integer Width, System::Integer Height) = 0
- ;
- virtual System::Boolean __fastcall IsComponentLinkable(Classes::TComponent *Component) = 0;
- virtual void __fastcall MakeComponentLinkable(Classes::TComponent *Component) = 0;
- virtual Classes::TComponent *__fastcall GetRoot(void) = 0;
- virtual void __fastcall Revert(Classes::TPersistent *Instance, Typinfo::PPropInfo PropInfo) = 0;
- public:
-
- /* !! TObject.Create */ __fastcall TFormDesigner(void) : Forms::TDesigner() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TFormDesigner(void) { }
-
- };
-
- enum TPropertyAttribute { paValueList, paSubProperties, paDialog, paMultiSelect, paAutoUpdate, paSortList,
- paReadOnly, paRevertable };
-
- typedef Set<TPropertyAttribute, paValueList, paRevertable> TPropertyAttributes;
-
- struct TInstProp
- {
- Classes::TComponent *Instance;
- Typinfo::TPropInfo *PropInfo;
- } ;
-
- typedef TInstProp TInstPropList[1024];
-
- typedef TInstPropList *PInstPropList;
-
- class __declspec(delphiclass) TPropertyEditor;
- typedef void __fastcall (__closure *TGetPropEditProc)(TPropertyEditor *Prop);
-
- class __declspec(pascalimplementation) TPropertyEditor : public System::TObject
- {
- typedef TPropertyEditor ThisClass;
- typedef System::TObject inherited;
-
- private:
- TFormDesigner *FDesigner;
- TInstPropList *FPropList;
- System::Integer FPropCount;
- __fastcall TPropertyEditor(TFormDesigner *ADesigner, System::Integer APropCount);
- System::AnsiString __fastcall GetPrivateDirectory(void);
- void __fastcall SetPropEntry(System::Integer Index, Classes::TComponent *AInstance, Typinfo::PPropInfo
- APropInfo);
-
- protected:
- Typinfo::PPropInfo __fastcall GetPropInfo(void);
- System::Extended __fastcall GetFloatValue(void);
- System::Extended __fastcall GetFloatValueAt(System::Integer Index);
- Sysutils::TMethod __fastcall GetMethodValue(void);
- Sysutils::TMethod __fastcall GetMethodValueAt(System::Integer Index);
- System::Longint __fastcall GetOrdValue(void);
- System::Longint __fastcall GetOrdValueAt(System::Integer Index);
- System::AnsiString __fastcall GetStrValue(void);
- System::AnsiString __fastcall GetStrValueAt(System::Integer Index);
- System::Variant __fastcall GetVarValue(void);
- System::Variant __fastcall GetVarValueAt(System::Integer Index);
- void __fastcall Modified(void);
- void __fastcall SetFloatValue(System::Extended Value);
- void __fastcall SetMethodValue(const Sysutils::TMethod &Value);
- void __fastcall SetOrdValue(System::Longint Value);
- void __fastcall SetStrValue(const System::AnsiString Value);
- void __fastcall SetVarValue(const System::Variant &Value);
-
- public:
- __fastcall virtual ~TPropertyEditor(void);
- virtual void __fastcall Activate(void);
- virtual System::Boolean __fastcall AllEqual(void);
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- Classes::TComponent *__fastcall GetComponent(System::Integer Index);
- virtual System::Integer __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetName(void);
- virtual void __fastcall GetProperties(TGetPropEditProc Proc);
- Typinfo::PTypeInfo __fastcall GetPropType(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall Initialize(void);
- void __fastcall Revert(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- System::Boolean __fastcall ValueAvailable(void);
- __property TFormDesigner * Designer = {read=FDesigner, nodefault};
- __property System::AnsiString PrivateDirectory = {read=GetPrivateDirectory, nodefault};
- __property System::Integer PropCount = {read=FPropCount, nodefault};
- __property System::AnsiString Value = {read=GetValue, write=SetValue, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TPropertyEditor(void) : System::TObject() { }
-
- };
-
- typedef System::TMetaClass *TPropertyEditorClass;
-
- class __declspec(delphiclass) TOrdinalProperty;
- class __declspec(pascalimplementation) TOrdinalProperty : public TPropertyEditor
- {
- typedef TOrdinalProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- public:
- virtual System::Boolean __fastcall AllEqual(void);
- virtual System::Integer __fastcall GetEditLimit(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TOrdinalProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TOrdinalProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TIntegerProperty;
- class __declspec(pascalimplementation) TIntegerProperty : public TOrdinalProperty
- {
- typedef TIntegerProperty ThisClass;
- typedef TOrdinalProperty inherited;
-
- public:
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TIntegerProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TIntegerProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class __declspec(delphiclass) TCharProperty;
- class __declspec(pascalimplementation) TCharProperty : public TOrdinalProperty
- {
- typedef TCharProperty ThisClass;
- typedef TOrdinalProperty inherited;
-
- public:
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TCharProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TCharProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class __declspec(delphiclass) TEnumProperty;
- class __declspec(pascalimplementation) TEnumProperty : public TOrdinalProperty
- {
- typedef TEnumProperty ThisClass;
- typedef TOrdinalProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TEnumProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TEnumProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class __declspec(delphiclass) TFloatProperty;
- class __declspec(pascalimplementation) TFloatProperty : public TPropertyEditor
- {
- typedef TFloatProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- public:
- virtual System::Boolean __fastcall AllEqual(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TFloatProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TFloatProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TStringProperty;
- class __declspec(pascalimplementation) TStringProperty : public TPropertyEditor
- {
- typedef TStringProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- public:
- virtual System::Boolean __fastcall AllEqual(void);
- virtual System::Integer __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TStringProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TStringProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TSetElementProperty;
- class __declspec(pascalimplementation) TSetElementProperty : public TPropertyEditor
- {
- typedef TSetElementProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- private:
- System::Integer FElement;
- __fastcall TSetElementProperty(TFormDesigner *ADesigner, PInstPropList APropList, System::Integer APropCount
- , System::Integer AElement);
-
- public:
- __fastcall virtual ~TSetElementProperty(void);
- virtual System::Boolean __fastcall AllEqual(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetName(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TObject.Create */ __fastcall TSetElementProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TSetProperty;
- class __declspec(pascalimplementation) TSetProperty : public TOrdinalProperty
- {
- typedef TSetProperty ThisClass;
- typedef TOrdinalProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetProperties(TGetPropEditProc Proc);
- virtual System::AnsiString __fastcall GetValue(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TSetProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TSetProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class __declspec(delphiclass) TClassProperty;
- class __declspec(pascalimplementation) TClassProperty : public TPropertyEditor
- {
- typedef TClassProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetProperties(TGetPropEditProc Proc);
- virtual System::AnsiString __fastcall GetValue(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TClassProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TClassProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TMethodProperty;
- class __declspec(pascalimplementation) TMethodProperty : public TPropertyEditor
- {
- typedef TMethodProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- public:
- virtual System::Boolean __fastcall AllEqual(void);
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::Integer __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString AValue);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TMethodProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TMethodProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TComponentProperty;
- class __declspec(pascalimplementation) TComponentProperty : public TPropertyEditor
- {
- typedef TComponentProperty ThisClass;
- typedef TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::Integer __fastcall GetEditLimit(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TComponentProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TComponentProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class __declspec(delphiclass) TComponentNameProperty;
- class __declspec(pascalimplementation) TComponentNameProperty : public TStringProperty
- {
- typedef TComponentNameProperty ThisClass;
- typedef TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::Integer __fastcall GetEditLimit(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TComponentNameProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TComponentNameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class __declspec(delphiclass) TFontNameProperty;
- class __declspec(pascalimplementation) TFontNameProperty : public TStringProperty
- {
- typedef TFontNameProperty ThisClass;
- typedef TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TFontNameProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TFontNameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class __declspec(delphiclass) TFontCharsetProperty;
- class __declspec(pascalimplementation) TFontCharsetProperty : public TIntegerProperty
- {
- typedef TFontCharsetProperty ThisClass;
- typedef TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TFontCharsetProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TFontCharsetProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class __declspec(delphiclass) TColorProperty;
- class __declspec(pascalimplementation) TColorProperty : public TIntegerProperty
- {
- typedef TColorProperty ThisClass;
- typedef TIntegerProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TColorProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TColorProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class __declspec(delphiclass) TCursorProperty;
- class __declspec(pascalimplementation) TCursorProperty : public TIntegerProperty
- {
- typedef TCursorProperty ThisClass;
- typedef TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TCursorProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TCursorProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class __declspec(delphiclass) TFontProperty;
- class __declspec(pascalimplementation) TFontProperty : public TClassProperty
- {
- typedef TFontProperty ThisClass;
- typedef TClassProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TFontProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TFontProperty(void) : Dsgnintf::TClassProperty() { }
-
- };
-
- class __declspec(delphiclass) TModalResultProperty;
- class __declspec(pascalimplementation) TModalResultProperty : public TIntegerProperty
- {
- typedef TModalResultProperty ThisClass;
- typedef TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TModalResultProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TModalResultProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class __declspec(delphiclass) TShortCutProperty;
- class __declspec(pascalimplementation) TShortCutProperty : public TOrdinalProperty
- {
- typedef TShortCutProperty ThisClass;
- typedef TOrdinalProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TShortCutProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TShortCutProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- class __declspec(delphiclass) TMPFilenameProperty;
- class __declspec(pascalimplementation) TMPFilenameProperty : public TStringProperty
- {
- typedef TMPFilenameProperty ThisClass;
- typedef TStringProperty inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TMPFilenameProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TMPFilenameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class __declspec(delphiclass) TTabOrderProperty;
- class __declspec(pascalimplementation) TTabOrderProperty : public TIntegerProperty
- {
- typedef TTabOrderProperty ThisClass;
- typedef TIntegerProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TTabOrderProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TTabOrderProperty(void) : Dsgnintf::TIntegerProperty() { }
-
- };
-
- class __declspec(delphiclass) TCaptionProperty;
- class __declspec(pascalimplementation) TCaptionProperty : public TStringProperty
- {
- typedef TCaptionProperty ThisClass;
- typedef TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- public:
- /* !! TPropertyEditor.Destroy */ __fastcall virtual ~TCaptionProperty(void) { }
-
- public:
- /* !! TObject.Create */ __fastcall TCaptionProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class __declspec(delphiclass) EPropertyError;
- class __declspec(pascalimplementation) EPropertyError : public Sysutils::Exception
- {
- typedef EPropertyError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EPropertyError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EPropertyError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EPropertyError(System::Integer Ident) : Sysutils::Exception(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EPropertyError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EPropertyError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EPropertyError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EPropertyError(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EPropertyError(System::Integer Ident, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident,
- Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EPropertyError(void) { }
-
- };
-
- class __declspec(delphiclass) TComponentEditor;
- class __declspec(pascalimplementation) TComponentEditor : public System::TObject
- {
- typedef TComponentEditor ThisClass;
- typedef System::TObject inherited;
-
- private:
- Classes::TComponent *FComponent;
- TFormDesigner *FDesigner;
-
- public:
- __fastcall virtual TComponentEditor(Classes::TComponent *AComponent, TFormDesigner *ADesigner);
- virtual void __fastcall Edit(void);
- virtual void __fastcall ExecuteVerb(System::Integer Index);
- virtual System::AnsiString __fastcall GetVerb(System::Integer Index);
- virtual System::Integer __fastcall GetVerbCount(void);
- virtual void __fastcall Copy(void);
- __property Classes::TComponent * Component = {read=FComponent, nodefault};
- __property TFormDesigner * Designer = {read=FDesigner, nodefault};
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TComponentEditor(void) { }
-
- };
-
- typedef System::TMetaClass *TComponentEditorClass;
-
- class __declspec(delphiclass) TDefaultEditor;
- class __declspec(pascalimplementation) TDefaultEditor : public TComponentEditor
- {
- typedef TDefaultEditor ThisClass;
- typedef TComponentEditor inherited;
-
- private:
- TPropertyEditor *FFirst;
- TPropertyEditor *FBest;
- System::Boolean FContinue;
- void __fastcall CheckEdit(TPropertyEditor *PropertyEditor);
-
- protected:
- virtual void __fastcall EditProperty(TPropertyEditor *PropertyEditor, System::Boolean &Continue, System::Boolean
- &FreeEditor);
-
- public:
- virtual void __fastcall Edit(void);
- public:
- /* !! TComponentEditor.Create */ __fastcall virtual TDefaultEditor(Classes::TComponent *AComponent,
- TFormDesigner *ADesigner) : Dsgnintf::TComponentEditor(AComponent, ADesigner) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TDefaultEditor(void) { }
-
- };
-
- typedef System::TMetaClass * __fastcall (*TPropertyMapperFunc)(Classes::TComponent *Component, Typinfo::PPropInfo
- PropInfo);
-
- //-- var, const, procedure ---------------------------------------------------
- extern void __fastcall RegisterPropertyEditor(Typinfo::PTypeInfo PropertyType, System::TMetaClass *
- ComponentClass, const System::AnsiString PropertyName, System::TMetaClass * EditorClass);
- extern void __fastcall RegisterPropertyMapper(TPropertyMapperFunc Mapper);
- extern void __fastcall GetComponentProperties(TComponentList *Components, Typinfo::TTypeKinds Filter
- , TFormDesigner *Designer, TGetPropEditProc Proc);
- extern void __fastcall RegisterComponentEditor(System::TMetaClass * ComponentClass, System::TMetaClass *
- ComponentEditor);
- extern TComponentEditor *__fastcall GetComponentEditor(Classes::TComponent *Component, TFormDesigner *
- Designer);
- //-- template instantiations -------------------------------------------------
- template class TPropertyAttributes ;
-
- } /* namespace Dsgnintf */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Dsgnintf;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // DsgnIntf
-