home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12osr1.exe / src / DispMod.idl < prev    next >
Text File  |  1997-03-21  |  4KB  |  125 lines

  1. /* @(#)Z 1.5 com/src/ui/idl/DispMod.idl, odui, od96os2, odos29712d 97/03/21 17:20:47 (96/07/15 18:28:20) */
  2. //#====START_GENERATED_PROLOG======================================
  3. //#
  4. //#
  5. //#   COMPONENT_NAME: odui
  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. /*  Licensed Materials - Property of IBM                            */
  30. /*                                                                  */
  31. /*                                                                  */
  32. /* Copyright (C) International Business Machines Corp., 1994.       */
  33. /* Copyright (C) Apple Computer, Inc., 1994                         */
  34. /*                                                                  */
  35. /*  US Government Users Restricted Rights -                         */
  36. /*  Use, duplication, or disclosure restricted                      */
  37. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  38. /*                                                                  */
  39. /*                                                                  */
  40. /********************************************************************/
  41. #ifdef __PRIVATE__
  42. // IBM Change History (most recent first):                         */
  43. //  120349  5/15/95 map  Fix problem with //# comment on #endifs   */
  44. //  120349  5/15/95 map  Fix up IDL copyright                      */
  45. //******************************************************************/
  46. //
  47. //    File:        DispMod.idl
  48. //
  49. //    Contains:    Class definition for ODDispatchModule
  50. //
  51. //    Owned by:    Richard Rodseth
  52. //
  53. //    Copyright:    (C) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  54. //
  55. //    Change History (most recent first):
  56. //
  57. //         <6>     8/15/95    RR        #1275241 IDL Review
  58. //         <5>      8/3/95    RR        #1257260: Collapse B classes. Remove
  59. //                                    somInit methods. Don't call IsInitialized
  60. //                                    or SubclassResponsibility
  61. //         <4>     6/15/95    RR        #1254828/1255536 Added eventInfo to
  62. //                                    DIspatch
  63. //         <3>     9/13/94    RR        #1183564 ODEventData should be inout
  64. //         <2>     6/16/94    RR        Added function prefix
  65. //         <1>      6/8/94    RR        first checked in
  66. //         <5>      6/7/94    RR        Privatise change log
  67. //         <1>      5/9/94    VL        first checked in
  68. //
  69. //    To Do:
  70. //
  71. #else
  72. //    Copyright:    (C) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  73. #endif
  74.  
  75. #ifndef _DISPMOD_
  76. #define _DISPMOD_
  77.  
  78. #ifndef _ODOBJECT_
  79. #include "ODObject.idl"
  80. #endif
  81.  
  82. //=====================================================================================
  83. // Classes defined in this interface
  84. //=====================================================================================
  85.  
  86. interface  ODDispatchModule;
  87.  
  88. //=====================================================================================
  89. // Classes used by this interface
  90. //=====================================================================================
  91.  
  92. interface  ODSession;
  93.  
  94. //=====================================================================================
  95. // ODDispatchModule
  96. //=====================================================================================
  97.  
  98. interface ODDispatchModule : ODObject
  99. {
  100.     void InitDispatchModule(in ODSession session);
  101.  
  102.        ODBoolean Dispatch(inout ODEventData event, inout ODEventInfo eventInfo);
  103.  
  104. #ifdef __SOMIDL__
  105.     implementation
  106.     {
  107.         majorversion = 1; minorversion = 0;
  108.  
  109.           functionprefix = ODDispatchModule;
  110.  
  111.         releaseorder:
  112.             InitDispatchModule,
  113.             Dispatch;
  114.     
  115.     #ifdef __PRIVATE__
  116.  
  117.     #endif // __PRIVATE__
  118.  
  119.     };
  120. #endif // __SOMIDL__
  121. };
  122.  
  123. #endif // _DISPMOD_
  124.  
  125.