home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / ODSESSNB.IDL < prev    next >
Text File  |  1995-12-13  |  5KB  |  171 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 _ODSESSNB_
  17. #define _ODSESSNB_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //==============================================================================
  24. // Classes defined in this interface
  25. //==============================================================================
  26.  
  27. interface   ODBaseSession;
  28.  
  29. //==============================================================================
  30. // Classes used by this interface
  31. //==============================================================================
  32.  
  33. interface   ODWindowState;
  34. interface   ODDispatcher;
  35. interface   ODArbitrator;
  36. interface   ODStorageSystem;
  37. interface   ODClipboard;
  38. interface   ODDragAndDrop;
  39. interface   ODLinkManager;
  40. interface   ODNameSpaceManager;
  41. interface   ODMessageInterface;
  42. interface   ODNameResolver;
  43. interface   ODTranslation;
  44. interface   ODUndo;
  45. interface   ODSemanticInterface;
  46. interface   ODPersistentObject;
  47. interface   ODToolSpaceManager;
  48. interface       ODBinding;
  49. interface       ODInfo;
  50.  
  51. //=====================================================================================
  52. // Implementation Types
  53. //=====================================================================================
  54.  
  55.  
  56. //==============================================================================
  57. // ODBaseSession
  58. //==============================================================================
  59.  
  60. interface ODBaseSession :  ODObject
  61. {
  62.  
  63.    ODArbitrator GetArbitrator();
  64.    void SetArbitrator(in ODArbitrator arbitrator);
  65.  
  66.    ODBinding GetBinding();
  67.    void SetBinding(in ODBinding binding);
  68.  
  69.    ODDispatcher GetDispatcher();
  70.    void SetDispatcher(in ODDispatcher dispatcher);
  71.  
  72.    ODClipboard GetClipboard();
  73.    void SetClipboard(in ODClipboard clipboard);
  74.  
  75.    ODDragAndDrop GetDragAndDrop();
  76.    void SetDragAndDrop(in ODDragAndDrop dragAndDrop);
  77.  
  78.    ODInfo GetInfo();
  79.    void SetInfo(in ODInfo info);
  80.  
  81.    ODLinkManager GetLinkManager();
  82.    void SetLinkManager(in ODLinkManager linkManager);
  83.  
  84.    ODMessageInterface GetMessageInterface();
  85.    void SetMessageInterface(in ODMessageInterface messageInterface);
  86.  
  87.    ODNameResolver GetNameResolver();
  88.    void SetNameResolver(in ODNameResolver nameResolver);
  89.  
  90.    ODNameSpaceManager GetNameSpaceManager();
  91.    void SetNameSpaceManager(in ODNameSpaceManager nameSpaceManager);
  92.  
  93.    ODStorageSystem GetStorageSystem();
  94.    void SetStorageSystem(in ODStorageSystem storageSystem);
  95.  
  96.    ODTranslation GetTranslation();
  97.    void SetTranslation(in ODTranslation translation);
  98.  
  99.    ODUndo GetUndo();
  100.    void SetUndo(in ODUndo undo);
  101.  
  102.    ODWindowState GetWindowState();
  103.    void SetWindowState(in ODWindowState windowState);
  104.  
  105.    ODSemanticInterface AcquireShellSemtInterface();
  106.    void SetShellSemtInterface(in ODSemanticInterface shellSemanticInterface);
  107.  
  108.    ODTypeToken Tokenize(in ODType type);
  109.  
  110.    void RemoveEntry( in ODType type);
  111.  
  112.    ODBoolean GetType(in ODTypeToken token,
  113.                                          out ODType type);
  114.  
  115.  
  116. #ifdef __SOMIDL__
  117.   implementation
  118.   {
  119.         functionprefix = ODBaseSession;
  120.     override:
  121.                 somInit,
  122.                 somUninit,
  123.         Purge;
  124.  
  125.     releaseorder:
  126.         GetArbitrator,
  127.                 GetBinding,
  128.         GetClipboard,
  129.         GetDispatcher,
  130.         GetDragAndDrop,
  131.                 GetInfo,
  132.         GetLinkManager,
  133.                 GetMessageInterface,
  134.                 GetNameResolver,
  135.                 GetNameSpaceManager,
  136.                 GetStorageSystem,
  137.         GetTranslation,
  138.         GetUndo,
  139.         GetWindowState,
  140.         SetArbitrator,
  141.                 SetBinding,
  142.         SetClipboard,
  143.         SetDispatcher,
  144.         SetDragAndDrop,
  145.                 SetInfo,
  146.         SetLinkManager,
  147.                 SetMessageInterface,
  148.                 SetNameResolver,
  149.                 SetNameSpaceManager,
  150.                 SetStorageSystem,
  151.         SetTranslation,
  152.         SetUndo,
  153.         SetWindowState,
  154.         AcquireShellSemtInterface,
  155.         SetShellSemtInterface,
  156.         Tokenize,
  157.         RemoveEntry,
  158.         GetType,
  159.                 reserved1,
  160.                 reserved2,
  161.                 reserved3;
  162.                 reserved4;
  163.                 reserved5;
  164.  
  165.   };
  166. #endif
  167. };
  168.  
  169. #endif // _BASESESS_
  170.  
  171.