home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / OCXREG.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  2KB  |  62 lines

  1. //----------------------------------------------------------------------------
  2. // OCXReg.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: OCXReg.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef OCXRegHPP
  6. #define OCXRegHPP
  7. //----------------------------------------------------------------------------
  8. #include <OleCtrls.hpp>
  9. #include <DsgnIntf.hpp>
  10. #include <TypInfo.hpp>
  11. #include <Dialogs.hpp>
  12. #include <Forms.hpp>
  13. #include <Controls.hpp>
  14. #include <Graphics.hpp>
  15. #include <Classes.hpp>
  16. #include <SysUtils.hpp>
  17. #include <OleCtl.hpp>
  18. #include <OLE2.hpp>
  19. #include <System.hpp>
  20. #pragma warn -par
  21. #pragma warn -hid 
  22. #pragma warn -inl
  23.  
  24. namespace Ocxreg
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class __declspec(delphiclass) TOleObjectEditor;
  28. class __declspec(pascalimplementation) TOleObjectEditor : public System::TObject
  29. {
  30.     typedef System::TObject inherited;
  31.     
  32. private:
  33.     Dsgnintf::TPropertyEditor* FPropertyEditor;
  34.     
  35. public:
  36.     __fastcall virtual TOleObjectEditor(Dsgnintf::TPropertyEditor* PropertyEditor);
  37.     virtual System::Variant __fastcall Edit(const System::Variant &OleObject);
  38.     __property Dsgnintf::TPropertyEditor* PropertyEditor = {read=FPropertyEditor, nodefault};
  39. public:
  40.     /* TObject.Destroy */ __fastcall virtual ~TOleObjectEditor(void) { }
  41.     
  42. };
  43.  
  44. typedef System::TMetaClass*TOleObjectEditorClass;
  45.  
  46. //-- var, const, procedure ---------------------------------------------------
  47. extern void __fastcall RegisterOleObjectEditor(const GUID &IID, const System::AnsiString ClassName, 
  48.     System::TMetaClass* EditorClass);
  49. extern void __fastcall Register(void);
  50.  
  51. }    /* namespace Ocxreg */
  52.  
  53. #pragma warn .par
  54. #pragma warn .hid 
  55. #pragma warn .inl
  56.  
  57. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  58. using namespace Ocxreg;
  59. #endif
  60. //-- end unit ----------------------------------------------------------------
  61. #endif    // OCXReg
  62.