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