XKBbells.h
上传用户:lctgjx
上传日期:2022-06-04
资源大小:8887k
文件大小:5k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1. #ifndef _XKBBELLS_H_
  2. #define _XKBBELLS_H_ 1
  3. /* $Xorg: XKBbells.h,v 1.3 2000/08/17 19:46:42 cpqbld Exp $ */
  4. /************************************************************
  5.  Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
  6.  Permission to use, copy, modify, and distribute this
  7.  software and its documentation for any purpose and without
  8.  fee is hereby granted, provided that the above copyright
  9.  notice appear in all copies and that both that copyright
  10.  notice and this permission notice appear in supporting
  11.  documentation, and that the name of Silicon Graphics not be 
  12.  used in advertising or publicity pertaining to distribution 
  13.  of the software without specific prior written permission.
  14.  Silicon Graphics makes no representation about the suitability 
  15.  of this software for any purpose. It is provided "as is"
  16.  without any express or implied warranty.
  17.  
  18.  SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
  19.  SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 
  20.  AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
  21.  GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
  22.  DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 
  23.  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 
  24.  OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
  25.  THE USE OR PERFORMANCE OF THIS SOFTWARE.
  26.  ********************************************************/
  27. /* $XFree86$ */
  28. #define XkbBN_Info "Info"
  29. #define XkbBN_Warning "Warning"
  30. #define XkbBN_MinorError "MinorError"
  31. #define XkbBN_MajorError "MajorError"
  32. #define XkbBN_BadValue "BadValue"
  33. #define XkbBN_InvalidLocation "InvalidLocation"
  34. #define XkbBN_Question "Question"
  35. #define XkbBN_Start "Start"
  36. #define XkbBN_End "End"
  37. #define XkbBN_Success "Success"
  38. #define XkbBN_Failure "Failure"
  39. #define XkbBN_Wait "Wait"
  40. #define XkbBN_Proceed "Proceed"
  41. #define XkbBN_Ignore "Ignore"
  42. #define XkbBN_Iconify "Iconify"
  43. #define XkbBN_Deiconify "Deconify"
  44. #define XkbBN_Open "Open"
  45. #define XkbBN_Close "Close"
  46. #define XkbBN_TerminalBell "TerminalBell"
  47. #define XkbBN_MarginBell "MarginBell"
  48. #define XkbBN_CursorStuck "CursorStuck"
  49. #define XkbBN_NewMail "NewMail"
  50. #define XkbBN_LaunchApp "LaunchApp"
  51. #define XkbBN_AppDeath "AppDeath"
  52. #define XkbBN_ImAlive "ImAlive"
  53. #define XkbBN_ClockChimeHour "ClockChimeHour"
  54. #define XkbBN_ClockChimeHalf "ClockChimeHalf"
  55. #define XkbBN_ClockChimeQuarter "ClockChimeQuarter"
  56. #define XkbBN_RepeatingLastBell "RepeatingLastBell"
  57. #define XkbBN_ComposeFail "ComposeFail"
  58. #define XkbBN_AX_FeatureOn "AX_FeatureOn"
  59. #define XkbBN_AX_FeatureOff "AX_FeatureOff"
  60. #define XkbBN_AX_FeatureChange "AX_FeatureChange"
  61. #define XkbBN_AX_IndicatorOn "AX_IndicatorOn"
  62. #define XkbBN_AX_IndicatorOff "AX_IndicatorOff"
  63. #define XkbBN_AX_IndicatorChange "AX_IndicatorChange"
  64. #define XkbBN_AX_SlowKeysWarning "AX_SlowKeysWarning"
  65. #define XkbBN_AX_SlowKeyPress "AX_SlowKeyPress"
  66. #define XkbBN_AX_SlowKeyAccept "AX_SlowKeyAccept"
  67. #define XkbBN_AX_SlowKeyReject "AX_SlowKeyReject"
  68. #define XkbBN_AX_SlowKeyRelease "AX_SlowKeyRelease"
  69. #define XkbBN_AX_BounceKeyReject "AX_BounceKeyReject"
  70. #define XkbBN_AX_StickyLatch "AX_StickyLatch"
  71. #define XkbBN_AX_StickyLock "AX_StickyLock"
  72. #define XkbBN_AX_StickyUnlock "AX_StickyUnlock"
  73. #define XkbBI_Info 0
  74. #define XkbBI_Warning 1
  75. #define XkbBI_MinorError 2
  76. #define XkbBI_MajorError 3
  77. #define XkbBI_BadValue 4
  78. #define XkbBI_InvalidLocation 5
  79. #define XkbBI_Question 6
  80. #define XkbBI_Start 7
  81. #define XkbBI_End 8
  82. #define XkbBI_Success 9
  83. #define XkbBI_Failure 10
  84. #define XkbBI_Wait 11
  85. #define XkbBI_Proceed 12
  86. #define XkbBI_Ignore 13
  87. #define XkbBI_Iconify 14
  88. #define XkbBI_Deiconify 15
  89. #define XkbBI_Open 16
  90. #define XkbBI_Close 17
  91. #define XkbBI_TerminalBell 18
  92. #define XkbBI_MarginBell 19
  93. #define XkbBI_CursorStuck 20
  94. #define XkbBI_NewMail 21
  95. #define XkbBI_LaunchApp 22
  96. #define XkbBI_AppDeath 23
  97. #define XkbBI_ImAlive 24
  98. #define XkbBI_ClockChimeHour 25
  99. #define XkbBI_ClockChimeHalf 26
  100. #define XkbBI_ClockChimeQuarter 27
  101. #define XkbBI_RepeatingLastBell 28
  102. #define XkbBI_ComposeFail 29
  103. #define XkbBI_AX_FeatureOn 30
  104. #define XkbBI_AX_FeatureOff 31
  105. #define XkbBI_AX_FeatureChange 32
  106. #define XkbBI_AX_IndicatorOn 33
  107. #define XkbBI_AX_IndicatorOff 34
  108. #define XkbBI_AX_IndicatorChange 35
  109. #define XkbBI_AX_SlowKeysWarning 36
  110. #define XkbBI_AX_SlowKeyPress 37
  111. #define XkbBI_AX_SlowKeyAccept 38
  112. #define XkbBI_AX_SlowKeyReject 39
  113. #define XkbBI_AX_SlowKeyRelease 40
  114. #define XkbBI_AX_BounceKeyReject 41
  115. #define XkbBI_AX_StickyLatch 42
  116. #define XkbBI_AX_StickyLock 43
  117. #define XkbBI_AX_StickyUnlock 44
  118. #define XkbBI_NumBells 45
  119. _XFUNCPROTOBEGIN
  120. extern Bool XkbStdBell(
  121. Display * /* dpy */,
  122. Window /* win */,
  123. int /* percent */,
  124. int /* bellDef */
  125. );
  126. extern Bool XkbStdBellEvent(
  127. Display * /* dpy */,
  128. Window /* win */,
  129. int /* percent */,
  130. int /* bellDef */
  131. );
  132. _XFUNCPROTOEND
  133. #endif /* _XKBBELLS_H_ */