home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / som / somem / c / emdemo / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-24  |  2.2 KB  |  69 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. /*   %Z% %I% %W% %G% %U% [%H% %T%] */
  14.  
  15. /*
  16.  *
  17.  * DISCLAIMER OF WARRANTIES.
  18.  * The following [enclosed] code is sample code created by IBM
  19.  * Corporation. This sample code is not part of any standard or IBM
  20.  * product and is provided to you solely for the purpose of assisting
  21.  * you in the development of your applications.  The code is provided
  22.  * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
  23.  * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  24.  * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
  25.  * THIS CODE.  IBM shall not be liable for any damages arising out of
  26.  * your use of the sample code, even if they have been advised of the
  27.  * possibility of such damages.
  28.  *
  29.  * DISTRIBUTION.
  30.  * This sample code can be freely distributed, copied, altered, and
  31.  * incorporated into other software, provided that it bears the above
  32.  * Copyright notice and DISCLAIMER intact.
  33.  */
  34.  
  35.  
  36. #define IDM_REGPROC      100
  37. #define IDM_UNREGPROC    101
  38. #define IDM_REGSOCK      102
  39. #define IDM_UNREGSOCK    103
  40. #define IDM_REGTIMER     104
  41. #define IDM_UNREGTIMER   105
  42. #define IDM_UPDTIMER     106
  43. #define IDM_CLIENT1      107
  44. #define IDM_CLIENT2      108
  45. #define IDM_SEND         109
  46. #define IDM_QUIT         110
  47. #define IDM_SENDTOPARENT 111
  48. #define ID_CMD           112
  49.  
  50. /* NLS messages */
  51. /* must be ID of 1st message */
  52. #define STARTNLSID    1001
  53. #define EMANSAMPLEERRORID 1001
  54. #define UnknownCommandId 1002
  55. #define CallbackId    1003
  56. #define ClientEventDataId 1004
  57. #define UnknownEventTypeId 1005
  58. #define DestroyId    1006
  59. #define EventType1Id    1007
  60. #define HelloMomId    1008
  61. #define EventType2Id    1009
  62. #define HelloDadId    1010
  63. #define SOMEventMgrId    1011
  64. #define StartEMANLoopId    1012
  65. #define LeftEMANLoopId    1013
  66. #define QuittingId    1014
  67. /* must be ID of last message */
  68. #define ENDNLSID    1014
  69.