home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / oclsrc15.zip / OCL / Include / OMessage.h < prev    next >
C/C++ Source or Header  |  1996-08-12  |  5KB  |  121 lines

  1. // OCL - OS/2 Class Library
  2. // (c) Cubus 1995
  3. // All Rights Reserved
  4. // OMessage.hpp
  5.  
  6.  
  7. /*
  8.  * Redistribution and use in source and binary forms, with or without
  9.  * modification, are permitted provided that the following conditions
  10.  * are met:
  11.  * 1. Redistributions of source code must retain the above copyright
  12.  *    notice, this list of conditions and the following disclaimer.
  13.  * 2. Neither the name Cubus nor the name Team OCL may be used to
  14.  *    endorse or promote products derived from this software
  15.  *    without specific prior written permission.
  16.  * 3. See OCL.INF for a detailed copyright notice.
  17.  *
  18.  *              THIS SOFTWARE IS PROVIDED ``AS IS'' AND
  19.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  20.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  21.  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  22.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  23.  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  24.  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  25.  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  26.  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  27.  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  28.  * SUCH DAMAGE.
  29.  */
  30.  
  31.  
  32. // $Header: W:/Projects/OCL/Include/rcs/OMessage.h 1.50 1996/08/11 23:47:22 B.STEIN Release $
  33.  
  34. #ifndef OMESSAGE_H_INCLUDED
  35.   #define OMESSAGE_H_INCLUDED
  36.  
  37. // OCL
  38.  
  39. #define             OCL_VER_MSG                   1         // %MSG%, Compiler, Copyright 
  40. #define             OCL_BORLAND                   2
  41. #define             OCL_WATCOM                    3
  42. #define             OCL_VA                        4
  43. #define             OCL_CSET                      5
  44. #define             OCL_METAWARE                  6
  45. #define             OCL_EMX                       7
  46. #define             OCL_COPYRIGHT                 8
  47. #define             OCL_UNKNOWN_EXCEPTION         9
  48. #define             OCL_ERROR_PAGESELECT          10
  49. #define             OCL_INVALID_PAGE              11
  50. #define             OCL_ERROR_APPLICATION         12
  51.  
  52. #define             OCL_LARGE_TILE                20
  53. #define             OCL_LEAST_SIZE                21
  54. #define             OCL_ERROR_ALLOC               22        // %MSG%, %APIMSG%
  55.  
  56. #define             OCL_ERROR_LOADBMP             30
  57. #define             OCL_NULLHANDLE_BMP            31
  58. #define             OCL_BMP_FROM_FILE             32
  59.  
  60. #define             OCL_VIEW_STR                  38
  61.  
  62. #define             OCL_OCRIT_ENTER               40
  63. #define             OCL_OCRIT_EXIT                41
  64.  
  65. #define             OCL_ODRG_REG                  45
  66. #define             OCL_ODRG_CREAT                46
  67. #define             OCL_CTRL_NOT_EXISTS           47
  68.  
  69. #define             OCL_FN_BY_ORD                 50
  70. #define             OCL_FN_BY_NAME                51
  71. #define             OCL_FNTYPE_BY_ORD             52
  72. #define             OCL_FNTYPE_BY_NAME            53
  73. #define             OCL_MOD_NAME                  54
  74. #define             OCL_APP_TYPE                  55
  75. #define             OCL_GET_RES                   56
  76. #define             OCL_RES_SIZE                  57
  77.  
  78. #define             OCL_OGRBTN_REG                60
  79. #define             OCL_OGRBTN_CREAT              61
  80.  
  81. #define             OCL_OHLPPOP_CREAT             65
  82.  
  83.  
  84.  
  85. #define             OCL_ODATE_MON                 225
  86. #define             OCL_ODATE_TUE                 226
  87. #define             OCL_ODATE_WED                 227
  88. #define             OCL_ODATE_THU                 228
  89. #define             OCL_ODATE_FRI                 229
  90. #define             OCL_ODATE_SAT                 230
  91. #define             OCL_ODATE_SUN                 231
  92. #define             OCL_ODATE_JAN                 232
  93. #define             OCL_ODATE_FEB                 233
  94. #define             OCL_ODATE_MAR                 234
  95. #define             OCL_ODATE_APR                 235
  96. #define             OCL_ODATE_MAY                 236
  97. #define             OCL_ODATE_JUN                 237
  98. #define             OCL_ODATE_JUL                 238
  99. #define             OCL_ODATE_AUG                 239
  100. #define             OCL_ODATE_SEP                 240
  101. #define             OCL_ODATE_OCT                 241
  102. #define             OCL_ODATE_NOV                 242
  103. #define             OCL_ODATE_DEC                 243
  104.  
  105.  
  106. // OIP
  107.  
  108. #define             OIP_VER_MSG                   1         // %MSG%, Compiler, Copyright 
  109. #define             OIP_BORLAND                   2
  110. #define             OIP_WATCOM                    3
  111. #define             OIP_VA                        4
  112. #define             OIP_CSET                      5
  113. #define             OIP_METAWARE                  6
  114. #define             OIP_EMX                       7
  115. #define             OIP_COPYRIGHT                 8
  116. #define             OIP_UNKNOWN_EXCEPTION         9
  117.  
  118. # endif // OMESSAGE_H_INCLUDED
  119.  
  120. // end of source
  121.