home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / som / somd / cpp / event / eventint.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-24  |  1.7 KB  |  51 lines

  1. //
  2. //   COMPONENT_NAME: somx
  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.  
  14. /*
  15.  *
  16.  * DISCLAIMER OF WARRANTIES.
  17.  * The following [enclosed] code is sample code created by IBM
  18.  * Corporation. This sample code is not part of any standard or IBM
  19.  * product and is provided to you solely for the purpose of assisting
  20.  * you in the development of your applications.  The code is provided
  21.  * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
  22.  * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  23.  * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
  24.  * THIS CODE.  IBM shall not be liable for any damages arising out of
  25.  * your use of the sample code, even if they have been advised of the
  26.  * possibility of such damages.
  27.  *
  28.  * DISTRIBUTION.
  29.  * This sample code can be freely distributed, copied, altered, and
  30.  * incorporated into other software, provided that it bears the above
  31.  * Copyright notice and DISCLAIMER intact.
  32.  */
  33.  
  34. #include <somd.xh>
  35.  
  36. #include "cell.xh"
  37. #include "eventcom.xh"
  38. #include "eventch.xh"
  39.  
  40. SOMEXTERN void SOMLINK
  41. SOMInitModule(integer4 majorVersion, integer4 minorVersion)
  42. {
  43.   CellNewClass(0,0);
  44.   EventComm_ConsumerNewClass(0,0);
  45.   EventComm_SupplierNewClass(0,0);
  46.   EventComm_EventConnectionNewClass(0,0);
  47.   EventChannelAdmin_ConsumerAdminNewClass(0,0);
  48.   EventChannelAdmin_SupplierAdminNewClass(0,0);
  49.   EventChannelAdmin_EventChannelNewClass(0,0);
  50. }
  51.