home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / emtypes.h < prev    next >
C/C++ Source or Header  |  1999-02-22  |  2KB  |  81 lines

  1. /*
  2.  *   COMPONENT_NAME: somu
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996 
  8.  *   All Rights Reserved
  9.  *   Licensed Materials - Property of IBM
  10.  *   US Government Users Restricted Rights - Use, duplication or
  11.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12.  */
  13. /* @(#) 2.7 src/somem/emtypes.h, somu, som2.1 12/26/95 16:28:27 [7/30/96 14:46:07] */
  14.  
  15. /*
  16.  */
  17.  
  18. #ifndef SOM_EM_TYPES_h
  19. #define SOM_EM_TYPES_h
  20.  
  21. #ifndef SOMEEMRegisterData_VA_STUBS
  22.     #define SOMEEMRegisterData_VA_EXTERN
  23. #endif /* SOMEEMRegisterData_VA_STUBS */
  24.  
  25. #ifndef __cplusplus
  26.     #ifdef __PRIVATE__
  27.     #include <private/emregdat.h>
  28.     #else
  29.     #include <emregdat.h>
  30.     #endif
  31.  
  32.     #include <event.h>
  33.     #include <clientev.h>
  34.     #include <eventmsk.h>
  35. #else
  36.     #ifdef __PRIVATE__
  37.     #include <private/emregdat.xh>
  38.     #else
  39.     #include <emregdat.xh>
  40.     #endif
  41.  
  42.     #include <event.xh>
  43.     #include <clientev.xh>
  44.     #include <eventmsk.h>
  45. #endif
  46.  
  47. #ifdef SOM_STRICT_IDL
  48. typedef void EMRegProc(SOMEEvent , void *);
  49. typedef void SOMLINK EMMethodProc(SOMObject , SOMEEvent , void *);
  50. typedef void SOMLINK EMMethodProcEv(SOMObject , Environment *, SOMEEvent , void *);
  51. #else
  52. /*
  53.  * EMRegProc
  54.  *
  55.  * Procedure registration callback interface
  56.  */
  57. typedef void EMRegProc(SOMEEvent *, void *);
  58.  
  59. /*
  60.  * EMMethodProc
  61.  *
  62.  * Method registration callback interface
  63.  */
  64. typedef void SOMLINK EMMethodProc(SOMObject *, SOMEEvent *, void *);
  65.  
  66. /*
  67.  * EMMethodProcEv
  68.  *
  69.  * Method registration callback interface
  70.  */
  71. typedef void SOMLINK EMMethodProcEv(SOMObject *, Environment *, SOMEEvent *, void *);
  72. #endif
  73.  
  74. #ifdef __IBMC__
  75.     #pragma linkage(EMRegProc, system)
  76.     #pragma linkage(EMMethodProc, system)
  77.     #pragma linkage(EMMethodProcEv, system)
  78. #endif
  79.  
  80. #endif       /* SOM_EM_TYPES_h */
  81.