home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // DsgnIntf.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: DsgnIntf.pas
- //----------------------------------------------------------------------------
- #ifndef DsgnIntfHPP
- #define DsgnIntfHPP
- //----------------------------------------------------------------------------
- #include <TypInfo.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Dsgnintf
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TComponentList;
- class __declspec(pascalimplementation) TComponentList : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- Classes::TList* FList;
- Classes::TComponent* __fastcall Get(int Index);
- int __fastcall GetCount(void);
-
- public:
- __fastcall TComponentList(void);
- __fastcall virtual ~TComponentList(void);
- int __fastcall Add(Classes::TComponent* Item);
- bool __fastcall Equals(TComponentList* List);
- __property int Count = {read=GetCount, nodefault};
- __property Classes::TComponent* Items[int Index] = {read=Get/*, default*/};
- };
-
- class __declspec(delphiclass) TFormDesigner;
- class __declspec(pascalimplementation) TFormDesigner : public Forms::TDesigner
- {
- 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 bool __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 bool __fastcall MethodFromAncestor(const Sysutils::TMethod &Method) = 0;
- virtual Classes::TComponent* __fastcall CreateComponent(System::TMetaClass* ComponentClass, Classes::TComponent*
- Parent, int Left, int Top, int Width, int Height) = 0;
- virtual bool __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 System::TObject inherited;
-
- private:
- TFormDesigner* FDesigner;
- TInstPropList *FPropList;
- int FPropCount;
- __fastcall TPropertyEditor(TFormDesigner* ADesigner, int APropCount);
- System::AnsiString __fastcall GetPrivateDirectory(void);
- void __fastcall SetPropEntry(int Index, Classes::TComponent* AInstance, Typinfo::PPropInfo APropInfo
- );
-
- protected:
- Typinfo::PPropInfo __fastcall GetPropInfo(void);
- Extended __fastcall GetFloatValue(void);
- Extended __fastcall GetFloatValueAt(int Index);
- Sysutils::TMethod __fastcall GetMethodValue(void);
- Sysutils::TMethod __fastcall GetMethodValueAt(int Index);
- long __fastcall GetOrdValue(void);
- long __fastcall GetOrdValueAt(int Index);
- System::AnsiString __fastcall GetStrValue(void);
- System::AnsiString __fastcall GetStrValueAt(int Index);
- System::Variant __fastcall GetVarValue(void);
- System::Variant __fastcall GetVarValueAt(int Index);
- void __fastcall Modified(void);
- void __fastcall SetFloatValue(Extended Value);
- void __fastcall SetMethodValue(const Sysutils::TMethod &Value);
- void __fastcall SetOrdValue(long 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 bool __fastcall AllEqual(void);
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- Classes::TComponent* __fastcall GetComponent(int Index);
- virtual int __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);
- bool __fastcall ValueAvailable(void);
- __property TFormDesigner* Designer = {read=FDesigner, nodefault};
- __property System::AnsiString PrivateDirectory = {read=GetPrivateDirectory, nodefault};
- __property int 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 TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual int __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 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 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 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 TPropertyEditor inherited;
-
- public:
- virtual bool __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 TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual int __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 TPropertyEditor inherited;
-
- private:
- int FElement;
- __fastcall TSetElementProperty(TFormDesigner* ADesigner, PInstPropList APropList, int APropCount, int
- AElement);
-
- public:
- __fastcall virtual ~TSetElementProperty(void);
- virtual bool __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 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 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 TPropertyEditor inherited;
-
- public:
- virtual bool __fastcall AllEqual(void);
- virtual void __fastcall Edit(void);
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual int __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 TPropertyEditor inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual int __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 TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual int __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 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 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) TImeNameProperty;
- class __declspec(pascalimplementation) TImeNameProperty : public TStringProperty
- {
- typedef TStringProperty inherited;
-
- public:
- virtual TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TImeNameProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TImeNameProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class __declspec(delphiclass) TColorProperty;
- class __declspec(pascalimplementation) TColorProperty : public TIntegerProperty
- {
- 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 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 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 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 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 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 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 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 Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EPropertyError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EPropertyError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EPropertyError(int Ident) : Sysutils::Exception(Ident) { }
- /* Exception.CreateResFmt */ __fastcall EPropertyError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EPropertyError(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EPropertyError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EPropertyError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EPropertyError(int Ident, const System::TVarRec * Args,
- const int Args_Size, int 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 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(int Index);
- virtual System::AnsiString __fastcall GetVerb(int Index);
- virtual int __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 TComponentEditor inherited;
-
- private:
- TPropertyEditor* FFirst;
- TPropertyEditor* FBest;
- bool FContinue;
- void __fastcall CheckEdit(TPropertyEditor* PropertyEditor);
-
- protected:
- virtual void __fastcall EditProperty(TPropertyEditor* PropertyEditor, bool &Continue, bool &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 */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Dsgnintf;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // DsgnIntf
-