home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / RMANAGER.IDL < prev    next >
Text File  |  1995-12-13  |  3KB  |  75 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 _RMANAGER_
  17. #define _RMANAGER_
  18.  
  19. #include <somobj.idl>
  20. #include <snglicls.idl>
  21.  
  22. //==============================================================================
  23. // Theory of Operation
  24. //==============================================================================
  25.  
  26. /*
  27.   This file defines class RegistryManager.  This class contains information 
  28.   about a part handler class.  This information is kept by the OpenDoc part 
  29.   registry and is used by the OpenDoc shell and some OpenDoc utilities.
  30. */
  31.  
  32. //==============================================================================
  33. // Classes defined in this interface
  34. //==============================================================================
  35.  
  36. interface  RegistryManager;
  37.  
  38. //==============================================================================
  39. // Classes used by this interface
  40. //==============================================================================
  41. interface ODPartHandlerRegistry;
  42. interface ComponentManager;
  43.  
  44. //==============================================================================
  45. // RegistryManager
  46. //==============================================================================
  47.  
  48. interface RegistryManager  : SOMObject
  49. {
  50.   ODPartHandlerRegistry GetODPartHandlerRegistry();
  51.   ComponentManager      GetComponentManager();
  52.  
  53. #ifdef __SOMIDL__
  54.  
  55.   implementation
  56.   {
  57.     metaclass = SOMMSingleInstance;
  58.     functionprefix = RegistryManager;
  59.  
  60.     somInit : override;
  61.     somUninit : override;
  62.  
  63.     releaseorder:
  64.       GetODPartHandlerRegistry,
  65.       GetComponentManager,      
  66.       reserved01;
  67.   };
  68.  
  69. #endif
  70.  
  71. };
  72.  
  73. #endif
  74.  
  75.