home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // LibIntf.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: LibIntf.pas
- //----------------------------------------------------------------------------
- #ifndef LibIntfHPP
- #define LibIntfHPP
- //----------------------------------------------------------------------------
- #ifndef FileIntfHPP
- #include <FileIntf.hpp>
- #endif
-
- #ifndef EditIntfHPP
- #include <EditIntf.hpp>
- #endif
-
- #ifndef ExptintfHPP
- #include <Exptintf.hpp>
- #endif
-
- #ifndef ToolIntfHPP
- #include <ToolIntf.hpp>
- #endif
-
- #ifndef DsgnIntfHPP
- #include <DsgnIntf.hpp>
- #endif
-
- #ifndef TypInfoHPP
- #include <TypInfo.hpp>
- #endif
-
- #ifndef VirtIntfHPP
- #include <VirtIntf.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Libintf
- {
- //-- type declarations -------------------------------------------------------
- enum TDesignDialog { ddAlign, ddSize, ddScale, ddTabOrder, ddCreationOrder, ddSaveTemplate };
-
- struct TDesignerOptions
- {
- System::Boolean DisplayGrid;
- System::Boolean SnapToGrid;
- System::Integer GridSizeX;
- System::Integer GridSizeY;
- System::Boolean ShowComponentCaptions;
- } ;
-
- class __declspec(delphiclass) TIAppBuilder;
- class __declspec(delphiclass) TICompClass;
- class __declspec(pascalimplementation) TIAppBuilder : public Virtintf::TInterface
- {
- typedef TIAppBuilder ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual void __fastcall ActiveFormModified(void) = 0;
- virtual void __fastcall ComponentRenamed(const System::AnsiString CurName, const System::AnsiString
- NewName) = 0;
- virtual void __fastcall ExecDesignDialog(TDesignDialog DesignDialog) = 0;
- virtual void __fastcall FormActivated(void) = 0;
- virtual System::Integer __fastcall GetAppHandle(void) = 0;
- virtual System::AnsiString __fastcall GetPathAndBaseExeName(void) = 0;
- virtual System::AnsiString __fastcall GetBaseRegKey(void) = 0;
- virtual TICompClass *__fastcall GetCurCompClass(void) = 0;
- virtual System::Longint __fastcall GetCurTime(void) = 0;
- virtual void __fastcall GetDesignerOptions(TDesignerOptions &Options) = 0;
- virtual Windows::TRect __fastcall GetMainWindowSize(void) = 0;
- virtual System::Boolean __fastcall LockState(void) = 0;
- virtual void __fastcall ModalEdit(System::Char EditKey, System::Pointer ReturnWindow) = 0;
- virtual void __fastcall OpenForm(const System::AnsiString FormName, System::Boolean Show) = 0;
- virtual void __fastcall RaiseException(const System::AnsiString Message) = 0;
- virtual void __fastcall ResetCompClass(void) = 0;
- virtual void __fastcall SelectionChanged(void) = 0;
- virtual void __fastcall ShowClassHelp(const System::AnsiString ClassName) = 0;
- virtual void __fastcall SelectItemName(const System::AnsiString PropertyName) = 0;
- virtual void __fastcall ValidateActiveModule(void) = 0;
- virtual void __fastcall AddExpert(Exptintf::TIExpert *Expert) = 0;
- virtual void __fastcall RemoveExpert(Exptintf::TIExpert *Expert) = 0;
- virtual Toolintf::TIToolServices *__fastcall GetToolServices(void) = 0;
- virtual void __fastcall ExpertsLoaded(void) = 0;
- virtual Fileintf::TIVirtualFileSystem *__fastcall GetFileSystem(const System::AnsiString Ident) = 0
- ;
- virtual System::AnsiString __fastcall MakeBackupFileName(const System::AnsiString FileName) = 0;
- virtual System::Boolean __fastcall CreateBackupFile(void) = 0;
- virtual System::Boolean __fastcall WinHelp(const System::AnsiString HelpFile, System::Integer Command
- , System::Longint Data) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TIAppBuilder(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TIAppBuilder(void) { }
-
- };
-
- class __declspec(pascalimplementation) TICompClass : public Virtintf::TInterface
- {
- typedef TICompClass ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual Windows::TPoint __fastcall GetBitmapPos(System::Boolean Selected) = 0;
- virtual System::AnsiString __fastcall GetClassName(void) = 0;
- virtual System::AnsiString __fastcall GetDefaultPage(void) = 0;
- virtual System::Integer __fastcall GetModuleIndex(void) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TICompClass(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TICompClass(void) { }
-
- };
-
- enum TPropKind { pkProperties, pkEvents };
-
- class __declspec(delphiclass) TIProperty;
- typedef void __fastcall (__closure *TGetPropProc)(TIProperty *Prop);
-
- enum LibIntf_3 { fsVisible, fsIconic, fsZoomed };
-
- typedef Set<LibIntf_3, fsVisible, fsZoomed> TFormState;
-
- enum TEditAction { eaUndo, eaCut, eaCopy, eaPaste, eaDelete, eaSelectAll, eaBringToFront, eaSendToBack,
- eaAlignToGrid };
-
- enum LibIntf_4 { esCanUndo, esCanCut, esCanCopy, esCanPaste, esCanDelete, esCanZOrder, esCanAlignGrid,
- esCanEditOle, esCanTabOrder, esCanCreationOrder, esCanPrint };
-
- typedef Set<LibIntf_4, esCanUndo, esCanPrint> TEditState;
-
- enum TShowState { ssNormal, ssMinimized, ssMaximized };
-
- enum TAffect { afTop, afLeft, afBottom, afRight, afHCenter, afVCenter, afHSpace, afVSpace, afHWinCenter,
- afVWinCenter, afNothing };
-
- enum TSizeAffect { asHGrow, asHShrink, asHAbsolute, asVGrow, asVShrink, asVAbsolute, asNothing };
-
- class __declspec(delphiclass) TIFile;
- class __declspec(pascalimplementation) TIFile : public Virtintf::TInterface
- {
- typedef TIFile ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual Virtintf::TIStream *__fastcall FormFileOpen(void) = 0;
- virtual System::AnsiString __fastcall GetFileName(void) = 0;
- virtual System::Longint __fastcall GetTimeAtLoad(void) = 0;
- virtual System::Longint __fastcall GetModifyTime(void) = 0;
- virtual System::Boolean __fastcall CheckFileDate(void) = 0;
- virtual void __fastcall Rename(const System::AnsiString NewFileName) = 0;
- virtual void __fastcall Save(void) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TIFile(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TIFile(void) { }
-
- };
-
- class __declspec(delphiclass) TIForm;
- typedef void __fastcall (__closure *TGetFormProc)(TIForm *AForm);
-
- enum TDesignerKind { dkForm, dkDataModule };
-
- class __declspec(delphiclass) TICompInfo;
- class __declspec(delphiclass) TIModule;
- class __declspec(pascalimplementation) TIForm : public TIFile
- {
- typedef TIForm ThisClass;
- typedef TIFile inherited;
-
- public:
- virtual void __fastcall Align(TAffect Affect) = 0;
- virtual void __fastcall CreateComponent(TICompClass *CompClass) = 0;
- virtual System::AnsiString __fastcall FindCompClass(const System::AnsiString CompName) = 0;
- virtual System::AnsiString __fastcall GetAncestorName(void) = 0;
- virtual System::Integer __fastcall GetCompCount(void) = 0;
- virtual void __fastcall GetDependentForms(TGetFormProc Proc) = 0;
- virtual TDesignerKind __fastcall GetDesignerKind(void) = 0;
- virtual void __fastcall GetFormDependencies(TGetFormProc Proc) = 0;
- virtual System::Pointer __fastcall GetNVComp(System::Integer Index) = 0;
- virtual TICompInfo *__fastcall GetCompInfo(System::Integer Index) = 0;
- virtual TIModule *__fastcall GetModule(void) = 0;
- virtual System::AnsiString __fastcall GetCompName(System::Integer Index) = 0;
- virtual System::AnsiString __fastcall GetFileSystem(void) = 0;
- virtual Editintf::TIFormInterface *__fastcall GetFormInterface(void) = 0;
- virtual System::AnsiString __fastcall GetFormName(void) = 0;
- virtual System::Integer __fastcall GetFormImage(void) = 0;
- virtual void __fastcall GetFormUnits(Classes::TGetStrProc Proc) = 0;
- virtual TFormState __fastcall GetState(void) = 0;
- virtual System::Integer __fastcall GetTabCompCount(void) = 0;
- virtual System::Boolean __fastcall GetTabCompInfo(System::Integer Order, System::AnsiString &Name,
- System::Pointer &Comp) = 0;
- virtual System::Integer __fastcall GetObjectMenuItemCount(void) = 0;
- virtual System::AnsiString __fastcall GetObjectMenuItem(System::Integer Index) = 0;
- virtual void __fastcall ObjectMenuAction(System::Integer Index) = 0;
- virtual void __fastcall Hide(void) = 0;
- virtual void __fastcall RenameFormMethod(const System::AnsiString CurName, const System::AnsiString
- NewName) = 0;
- virtual void __fastcall RemoveDependentLinks(void) = 0;
- virtual void __fastcall SaveInto(const System::AnsiString AName) = 0;
- virtual void __fastcall Scale(System::Integer Factor) = 0;
- virtual void __fastcall SetFileSystem(const System::AnsiString FileSystem) = 0;
- virtual void __fastcall SetFormName(const System::AnsiString AName) = 0;
- virtual void __fastcall SetSelection(const System::AnsiString Name) = 0;
- virtual void __fastcall SetNVComp(System::Pointer Comp, System::Integer Order) = 0;
- virtual void __fastcall SetTabCompOrder(System::Pointer Comp, System::Integer Order) = 0;
- virtual void __fastcall Show(void) = 0;
- virtual void __fastcall ShowAs(TShowState ShowState) = 0;
- virtual void __fastcall Size(TSizeAffect Affect, System::Integer Value) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TIForm(void) : Libintf::TIFile() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TIForm(void) { }
-
- };
-
- class __declspec(delphiclass) TILibrary;
- class __declspec(pascalimplementation) TILibrary : public Virtintf::TInterface
- {
- typedef TILibrary ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual TIForm *__fastcall CreateForm(TIModule *AModule, const System::AnsiString AFileName, System::Boolean
- Existing, const System::AnsiString AFormName, const System::AnsiString AAncestor, const System::AnsiString
- AFileSystem) = 0;
- virtual TIForm *__fastcall CreateFromStream(TIModule *AModule, const System::AnsiString AFileName,
- const System::AnsiString AFileSystem, Virtintf::TIStream *IStream) = 0;
- virtual void __fastcall DesignerOptionsChanged(void) = 0;
- virtual void __fastcall EditAction(TEditAction Action) = 0;
- virtual TIFile *__fastcall FindFile(const System::AnsiString FileName) = 0;
- virtual TIForm *__fastcall GetActiveForm(void) = 0;
- virtual void __fastcall GetClassUnits(const System::AnsiString ClassName, Classes::TGetStrProc Proc
- ) = 0;
- virtual TICompClass *__fastcall GetCompClass(System::Integer Index) = 0;
- virtual System::Integer __fastcall GetCompClassCount(void) = 0;
- virtual void __fastcall GetCompHierarchy(Classes::TGetStrProc Proc) = 0;
- virtual System::Integer __fastcall GetComponentBitmap(void) = 0;
- virtual TEditState __fastcall GetEditState(void) = 0;
- virtual System::Integer __fastcall GetModuleCount(void) = 0;
- virtual System::AnsiString __fastcall GetModuleName(System::Integer Index) = 0;
- virtual System::Boolean __fastcall GetOleCtrlHelp(const System::AnsiString Member, System::Integer
- &HelpCtx, System::AnsiString &HelpFile) = 0;
- virtual void __fastcall GetProperties(TPropKind PropKind, TGetPropProc Proc) = 0;
- virtual System::AnsiString __fastcall GetSelectionName(void) = 0;
- virtual System::AnsiString __fastcall GetSelectionType(void) = 0;
- virtual void __fastcall HideWindows(void) = 0;
- virtual void __fastcall IsDesignMsg(Windows::TMsg &Msg, System::Boolean &Handled) = 0;
- virtual System::Boolean __fastcall IsTopmostForm(System::Integer Wnd) = 0;
- virtual void __fastcall ModalEditDone(System::Pointer ReturnWindow) = 0;
- virtual void __fastcall RaiseException(const System::AnsiString Message) = 0;
- virtual void __fastcall ShowWindows(void) = 0;
- virtual void __fastcall SetLockState(System::Boolean State) = 0;
- virtual void __fastcall SetProjectName( System::AnsiString Name) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TILibrary(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TILibrary(void) { }
-
- };
-
- class __declspec(pascalimplementation) TIModule : public Virtintf::TInterface
- {
- typedef TIModule ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual void __fastcall Activate(System::Boolean IsForm) = 0;
- virtual void __fastcall CreateMethod(const System::AnsiString Name, Typinfo::PTypeData TypeData) = 0
- ;
- virtual void __fastcall FormModified(void) = 0;
- virtual System::AnsiString __fastcall GetAncestorClassName(const System::AnsiString ClassName) = 0;
-
- virtual void __fastcall GetMethods(Typinfo::PTypeData TypeData, Classes::TGetStrProc Proc) = 0;
- virtual System::Boolean __fastcall FormIsTopmost(void) = 0;
- virtual System::Boolean __fastcall MethodExists(const System::AnsiString Name) = 0;
- virtual void __fastcall RenameComponent(TICompInfo *CompInfo, const System::AnsiString CurName, const System::AnsiString
- NewName) = 0;
- virtual void __fastcall RenameForm(TICompInfo *CompInfo, const System::AnsiString NewName) = 0;
- virtual void __fastcall RenameMethod(const System::AnsiString CurName, const System::AnsiString NewName
- ) = 0;
- virtual void __fastcall SaveInto(const System::AnsiString AName) = 0;
- virtual void __fastcall ShowMethod(const System::AnsiString Name) = 0;
- virtual void __fastcall GetImportedForms(Classes::TGetStrProc Proc) = 0;
- virtual void __fastcall ImportForm(const System::AnsiString FormName) = 0;
- virtual void __fastcall Notify(Editintf::TNotifyCode NotifyCode) = 0;
- virtual void __fastcall SwapSourceFormView(void) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TIModule(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TIModule(void) { }
-
- };
-
- class __declspec(pascalimplementation) TIProperty : public Virtintf::TInterface
- {
- typedef TIProperty ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual void __fastcall Activate(void) = 0;
- virtual System::Boolean __fastcall AllEqual(void) = 0;
- virtual void __fastcall Edit(void) = 0;
- virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void) = 0;
- virtual System::AnsiString __fastcall GetCompClassName(void) = 0;
- virtual System::Integer __fastcall GetEditLimit(void) = 0;
- virtual System::Boolean __fastcall GetEditValue( System::AnsiString &Value) = 0;
- virtual System::AnsiString __fastcall GetName(void) = 0;
- virtual void __fastcall GetProperties(TGetPropProc Proc) = 0;
- virtual Typinfo::PTypeInfo __fastcall GetPropType(void) = 0;
- virtual System::AnsiString __fastcall GetValue(void) = 0;
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc) = 0;
- virtual void __fastcall Revert(void) = 0;
- virtual void __fastcall SetValue(const System::AnsiString Value) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TIProperty(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TIProperty(void) { }
-
- };
-
- class __declspec(pascalimplementation) TICompInfo : public Virtintf::TInterface
- {
- typedef TICompInfo ThisClass;
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual void __fastcall ClearEvent(System::Integer Index) = 0;
- virtual System::AnsiString __fastcall GetClassName(void) = 0;
- virtual System::Integer __fastcall GetEventCount(void) = 0;
- virtual Typinfo::PPropInfo __fastcall GetEventInfo(System::Integer Index) = 0;
- virtual System::AnsiString __fastcall GetEventValue(System::Integer Index) = 0;
- virtual System::Pointer __fastcall GetComponentHandle(void) = 0;
- public:
- /* !! TInterface.Create */ __fastcall TICompInfo(void) : Virtintf::TInterface() { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TICompInfo(void) { }
-
- };
-
- typedef TILibrary *__fastcall (*TInitLibraryFunc)(TIAppBuilder *App);
-
- //-- var, const, procedure ---------------------------------------------------
- #define LibrarySignature "COMPLIB0054"
- //-- template instantiations -------------------------------------------------
- template class TEditState ;
- template class TFormState ;
-
- } /* namespace Libintf */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Libintf;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // LibIntf
-