home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / emtypes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-24  |  1.7 KB  |  76 lines

  1. /*
  2.  *   COMPONENT_NAME: somu
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  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. /* %Z% %I% %W% %G% %U% [%H% %T%] */
  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 SOMLINK 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 SOMLINK 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.  
  75. #endif       /* SOM_EM_TYPES_h */
  76.