home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // Exptintf.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: Exptintf.pas
- //----------------------------------------------------------------------------
- #ifndef ExptintfHPP
- #define ExptintfHPP
- //----------------------------------------------------------------------------
- #include <ToolIntf.hpp>
- #include <VirtIntf.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Exptintf
- {
- //-- type declarations -------------------------------------------------------
- enum TExpertStyle { esStandard, esForm, esProject, esAddIn };
-
- enum Exptintf_1 { esEnabled, esChecked };
-
- typedef Set<Exptintf_1, esEnabled, esChecked> TExpertState;
-
- class __declspec(delphiclass) TIExpert;
- class __declspec(pascalimplementation) TIExpert : public Virtintf::TInterface
- {
- typedef Virtintf::TInterface inherited;
-
- public:
- virtual System::AnsiString __stdcall GetName(void) = 0;
- virtual System::AnsiString __stdcall GetAuthor(void) = 0;
- virtual System::AnsiString __stdcall GetComment(void) = 0;
- virtual System::AnsiString __stdcall GetPage(void) = 0;
- virtual HICON __stdcall GetGlyph(void) = 0;
- virtual TExpertStyle __stdcall GetStyle(void) = 0;
- virtual TExpertState __stdcall GetState(void) = 0;
- virtual System::AnsiString __stdcall GetIDString(void) = 0;
- virtual System::AnsiString __stdcall GetMenuText(void) = 0;
- virtual void __stdcall Execute(void) = 0;
- public:
- /* TInterface.Create */ __fastcall TIExpert(void) : Virtintf::TInterface() { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~TIExpert(void) { }
-
- };
-
- typedef bool __fastcall (*TExpertRegisterProc)(TIExpert* Expert);
-
- typedef void __fastcall (*TExpertTerminateProc)(void);
-
- typedef bool __stdcall (*TExpertInitProc)(Toolintf::TIToolServices* ToolServices, TExpertRegisterProc
- RegisterProc, TExpertTerminateProc &Terminate);
-
- //-- var, const, procedure ---------------------------------------------------
- #define isExperts "Experts"
- #define ExpertEntryPoint "INITEXPERT0016"
- #define ValidExpertVersion (Byte)(2)
- extern TExpertRegisterProc LibraryExpertProc;
- extern Toolintf::TIToolServices* ToolServices;
- extern void __fastcall RegisterLibraryExpert(TIExpert* Expert);
- //-- template instantiations -------------------------------------------------
- template class TExpertState ;
-
- } /* namespace Exptintf */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Exptintf;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Exptintf
-