home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / include / ODSessnB.idl < prev    next >
Text File  |  1997-04-02  |  6KB  |  208 lines

  1. /* @(#)Z 1.13 com/src/core/idl/ODSessnB.idl, odcore, od96os2, odos29712d 97/03/21 17:18:13 (97/02/26 15:24:13) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odcore
  6. //#
  7. //#   CLASSES: none
  8. //#
  9. //#   ORIGINS: 82,27
  10. //#
  11. //#
  12. //#   (C) COPYRIGHT International Business Machines Corp. 1995,1996
  13. //#   All Rights Reserved
  14. //#   Licensed Materials - Property of IBM
  15. //#   US Government Users Restricted Rights - Use, duplication or
  16. //#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  17. //#       
  18. //#   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. //#   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  20. //#   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  21. //#   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  22. //#   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  23. //#   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  24. //#   OR PERFORMANCE OF THIS SOFTWARE.
  25. //#
  26. //#====END_GENERATED_PROLOG========================================
  27. //#
  28.  
  29. //#    Copyright:    (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  30.  
  31. #ifndef _ODSESSNB_
  32. #define _ODSESSNB_
  33.  
  34. #ifndef _ODOBJECT_
  35. #include "ODObject.idl"
  36. #endif
  37.  
  38. //==============================================================================
  39. // Classes defined in this interface
  40. //==============================================================================
  41.  
  42. interface   ODBaseSession;
  43.  
  44. //==============================================================================
  45. // Classes used by this interface
  46. //==============================================================================
  47.  
  48. interface   ODWindowState;
  49. interface   ODDispatcher;
  50. interface   ODArbitrator;
  51. interface   ODStorageSystem;
  52. interface   ODClipboard;
  53. interface   ODDragAndDrop;
  54. interface   ODLinkManager;
  55. interface   ODNameSpaceManager;
  56. interface   ODMessageInterface;
  57. interface   ODNameResolver;
  58. interface   ODTranslation;
  59. interface   ODUndo;
  60. interface   ODSemanticInterface;
  61. interface   ODBinding;
  62. interface   ODInfo;
  63. #ifdef _TOOLSPACE_
  64. interface   ODToolSpaceManager;
  65. #endif
  66.  
  67.  
  68. //==============================================================================
  69. // ODBaseSession
  70. //==============================================================================
  71.  
  72. interface ODBaseSession :  ODObject
  73. {
  74.   //#---------------------------------
  75.   //# Global Getters/Setters
  76.  
  77.    ODArbitrator GetArbitrator();
  78.    void SetArbitrator(in ODArbitrator arbitrator);
  79.     
  80.    ODBinding GetBinding();
  81.    void SetBinding(in ODBinding binding);
  82.  
  83.    ODDispatcher GetDispatcher();
  84.    void SetDispatcher(in ODDispatcher dispatcher);
  85.  
  86.    ODClipboard GetClipboard();
  87.    void SetClipboard(in ODClipboard clipboard);
  88.  
  89.    ODDragAndDrop GetDragAndDrop();
  90.    void SetDragAndDrop(in ODDragAndDrop dragAndDrop);
  91.    
  92.    ODInfo GetInfo();
  93.    void    SetInfo(in ODInfo info);
  94.  
  95.    ODLinkManager GetLinkManager();
  96.    void SetLinkManager(in ODLinkManager linkManager);
  97.  
  98.    ODMessageInterface GetMessageInterface();
  99.    void SetMessageInterface(in ODMessageInterface messageInterface);
  100.  
  101.    ODNameResolver GetNameResolver();
  102.    void SetNameResolver(in ODNameResolver nameResolver);
  103.  
  104.    ODNameSpaceManager GetNameSpaceManager();
  105.    void SetNameSpaceManager(in ODNameSpaceManager nameSpaceManager);
  106.  
  107.    ODStorageSystem GetStorageSystem();
  108.    void SetStorageSystem(in ODStorageSystem storageSystem);
  109.  
  110.    ODTranslation GetTranslation();
  111.    void SetTranslation(in ODTranslation translation);
  112.  
  113.    ODUndo GetUndo();
  114.    void SetUndo(in ODUndo undo);
  115.    
  116. #ifdef _TOOLSPACE_
  117.    ODToolSpaceManager GetToolSpaceManager();
  118.    void SetToolSpaceManager(in ODToolSpaceManager toolSpaceManager);
  119. #endif
  120.  
  121.    ODWindowState GetWindowState();
  122.    void SetWindowState(in ODWindowState windowState);
  123.  
  124.   //#---------------------------------
  125.   //# Semantic Events
  126.  
  127.    ODSemanticInterface AcquireShellSemtInterface();
  128.    void SetShellSemtInterface(in ODSemanticInterface shellSemanticInterface);
  129.  
  130.   //#---------------------------------
  131.   //# Types and Token
  132.  
  133.    ODTypeToken Tokenize(in ODType type);
  134.     
  135.    void RemoveEntry( in ODType type);
  136.     
  137.    ODBoolean GetType(in ODTypeToken token, out ODType type);
  138.     
  139.  
  140. #ifdef __SOMIDL__
  141.   implementation
  142.   {
  143.     majorversion = 1; minorversion = 0;
  144.  
  145.       functionprefix = ODBaseSession;
  146.  
  147.     override:
  148.         somUninit;
  149.     
  150.     releaseorder:
  151.         GetArbitrator,
  152.         GetBinding,
  153.         GetClipboard,
  154.         GetDispatcher,
  155.         GetDragAndDrop,
  156.         GetInfo,
  157.         GetLinkManager,
  158.         GetMessageInterface,
  159.         GetNameResolver,
  160.         GetNameSpaceManager,
  161.         GetStorageSystem,
  162.         GetTranslation,
  163.         GetUndo,
  164.         GetWindowState,
  165.         SetArbitrator,
  166.         SetBinding,
  167.         SetClipboard,
  168.         SetDispatcher,
  169.         SetDragAndDrop,
  170.         SetInfo,
  171.         SetLinkManager,
  172.         SetMessageInterface,
  173.         SetNameResolver,
  174.         SetNameSpaceManager,
  175.         SetStorageSystem,
  176.         SetTranslation,
  177.         SetUndo,
  178.         SetWindowState,
  179. #ifdef _TOOLSPACE_
  180.         GetToolSpaceManager,
  181.         SetToolSpaceManager,
  182. #endif
  183.         AcquireShellSemtInterface,
  184.         SetShellSemtInterface,
  185.         Tokenize,
  186.         RemoveEntry,
  187.         GetType,
  188.         reserved1,
  189.         reserved2,
  190.         reserved3,
  191.         reserved4,
  192.         reserved5,
  193.     #ifdef _PLATFORM_WIN32_
  194.             reserved6,
  195.             reserved7,
  196.             reserved8;
  197.     #else
  198.         reserved6;
  199.     #endif
  200.  
  201.   };
  202. #endif
  203. };
  204.  
  205.  
  206. #endif // _BASESESS_
  207.  
  208.