home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / ADDONINC.PAK / IIDE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.6 KB  |  51 lines

  1. /*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2.  
  3.     iide.h
  4.     Created: 10/11/95
  5.     Copyright (c) 1995, Borland International
  6.     $Header:   Y:\admin\bride\addon\deliver\interfac\iide.h_v   1.16   18 Nov 1996 11:29:28   JDOUGLAS  $
  7.     $Revision:   1.16  $
  8.  
  9.    IDE Interface 
  10.    
  11.    Will return an interface pointer for any addon server interface through 
  12.    QueryInterface().
  13.     
  14. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/    
  15.  
  16. #ifndef _IIDE_H_
  17. #define _IIDE_H_
  18.  
  19. #include <windows.h>
  20. #include <objbase.h>
  21. #include <ideaddon\IIde.uid>
  22. #include <ideaddon\ipolystr.h>
  23. #include <ideaddon\ivfile.h>
  24. #include <ideaddon\iview.h>
  25. #include <ideaddon\common.h>
  26.  
  27.  
  28. //.............................................................................
  29. class IIdeServer : public IUnknown {
  30.  public:
  31.    virtual IPolyString * BCWADDON_CMETHOD ProductBinDirectory() = 0;
  32.    virtual IPolyString * BCWADDON_CMETHOD ProductRootDirectory() = 0;
  33.    virtual IPolyString * BCWADDON_CMETHOD ProductHelpDirectory() = 0;
  34.    //
  35.    // ProcessWaitingMessages() can be used inside a tight loop in place
  36.    // of using a Peek/translate/dispatch message routine, which would produce 
  37.    // undesirable when running iside the IDE. 
  38.    //
  39.    virtual BOOL BCWADDON_CMETHOD ProcessWaitingMessages() = 0;
  40.    
  41.    //
  42.    // The IDE server object also serves as a factory for these objects:
  43.    //
  44.     virtual IPolyString  * BCWADDON_CMETHOD CreatePolyString() = 0;
  45.     virtual IVirtualFile * BCWADDON_CMETHOD CreateVirtualFile() = 0;
  46.     virtual IViewType       * BCWADDON_CMETHOD CreateViewType() = 0;
  47. };
  48.  
  49.  
  50. #endif    //  _IIDE_H_
  51.