home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / DISPMOD.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  64 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. #ifndef _DISPMOD_
  16. #define _DISPMOD_
  17.  
  18. #ifndef _ODOBJECT_
  19. #include "ODObject.idl"      // base class
  20. #endif
  21.  
  22. //=====================================================================================
  23. // Classes defined in this interface
  24. //=====================================================================================
  25.  
  26. interface  ODDispatchModule;
  27.  
  28. //=====================================================================================
  29. // Classes used by this interface
  30. //=====================================================================================
  31.  
  32. interface  ODSession;
  33.  
  34. //=====================================================================================
  35. // ODDispatchModule
  36. //=====================================================================================
  37.  
  38. interface ODDispatchModule : ODObject
  39. {
  40.   void InitDispatchModule(in ODSession session);
  41.  
  42.    ODBoolean Dispatch(inout ODEventData event, inout ODEventInfo eventInfo);
  43.  
  44. #ifdef __SOMIDL__
  45.   implementation
  46.   {
  47.   functionprefix = ODDispatchModule;
  48.   override:
  49.     somInit,
  50.     somUninit,
  51.   Purge;
  52.  
  53.     releaseorder:
  54.         InitDispatchModule,
  55.         Dispatch;
  56.  
  57.  
  58.   };
  59. #endif
  60. };
  61.  
  62. #endif // _DISPMOD_
  63.  
  64.