home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / PARTINFO.IDL < prev    next >
Text File  |  1995-12-13  |  3KB  |  95 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15.  
  16. #ifndef _PARTINFO_
  17. #define _PARTINFO_
  18.  
  19. #include <somobj.idl>
  20.  
  21. #ifndef _PART_
  22. #include <ODTypesM.idl>
  23. #endif
  24.  
  25. //==============================================================================
  26. // Theory of Operation
  27. //==============================================================================
  28.  
  29. /*
  30.   This file defines class ODPartHandlerInfo.  This class contains information 
  31.   about a part handler class.  This information is kept by the OpenDoc part 
  32.   registry and is used by the OpenDoc shell and some OpenDoc utilities.
  33. */
  34.  
  35. //==============================================================================
  36. // Classes defined in this interface
  37. //==============================================================================
  38.  
  39. interface  ODPartHandlerInfo;
  40.  
  41. //==============================================================================
  42. // Classes used by this interface
  43. //==============================================================================
  44.  
  45. //==============================================================================
  46. // ODPartHandlerInfo
  47. //==============================================================================
  48.  
  49. interface ODPartHandlerInfo  : SOMObject
  50. {
  51.   string                 GetPartHandlerClassName();
  52.   ISOString              GetPartHandlerName();
  53.   string                 GetPartHandlerDisplayName();
  54.   sequence<PartKindInfo> GetPartKindInfo( in string category);
  55.   OperatingSystem        GetOperatingSystem();
  56.   void                   SetOperatingSystem( in OperatingSystem os);
  57.   string                 GetOLE2ClassId();
  58.   string                 GetWindowsIconFileName();
  59.   string                 GetDLLName();
  60.  
  61. #ifdef __SOMIDL__
  62.  
  63.   implementation
  64.   {
  65.     passthru C_xh =
  66.     ""
  67.     "#include <ODTypes.h>"
  68.     "";
  69.     passthru C_hh =
  70.     ""
  71.     "#include <ODTypes.h>"
  72.     "";
  73.  
  74.     functionprefix = ODPartHandlerInfo;
  75.  
  76.     releaseorder: GetPartHandlerClassName
  77.                 , GetPartHandlerName
  78.                 , GetPartHandlerDisplayName
  79.                 , GetPartKindInfo
  80.                 , GetOperatingSystem
  81.                 , SetOperatingSystem
  82.                 , GetOLE2ClassId
  83.                 , GetWindowsIconFileName
  84.                 , GetDLLName
  85.                 ;
  86.  
  87.   };
  88.  
  89. #endif
  90.  
  91. };
  92.  
  93. #endif // _PARTINFO_
  94.  
  95.