XKBbells.h revision 8c9fbc29
18c9fbc29Smrg#ifndef _XKBBELLS_H_
28c9fbc29Smrg#define	_XKBBELLS_H_ 1
38c9fbc29Smrg
48c9fbc29Smrg/* $Xorg: XKBbells.h,v 1.3 2000/08/17 19:46:42 cpqbld Exp $ */
58c9fbc29Smrg/************************************************************
68c9fbc29Smrg Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
78c9fbc29Smrg
88c9fbc29Smrg Permission to use, copy, modify, and distribute this
98c9fbc29Smrg software and its documentation for any purpose and without
108c9fbc29Smrg fee is hereby granted, provided that the above copyright
118c9fbc29Smrg notice appear in all copies and that both that copyright
128c9fbc29Smrg notice and this permission notice appear in supporting
138c9fbc29Smrg documentation, and that the name of Silicon Graphics not be
148c9fbc29Smrg used in advertising or publicity pertaining to distribution
158c9fbc29Smrg of the software without specific prior written permission.
168c9fbc29Smrg Silicon Graphics makes no representation about the suitability
178c9fbc29Smrg of this software for any purpose. It is provided "as is"
188c9fbc29Smrg without any express or implied warranty.
198c9fbc29Smrg
208c9fbc29Smrg SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
218c9fbc29Smrg SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
228c9fbc29Smrg AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
238c9fbc29Smrg GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
248c9fbc29Smrg DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
258c9fbc29Smrg DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
268c9fbc29Smrg OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
278c9fbc29Smrg THE USE OR PERFORMANCE OF THIS SOFTWARE.
288c9fbc29Smrg
298c9fbc29Smrg ********************************************************/
308c9fbc29Smrg/* $XFree86$ */
318c9fbc29Smrg
328c9fbc29Smrg#define	XkbBN_Info			"Info"
338c9fbc29Smrg#define	XkbBN_Warning			"Warning"
348c9fbc29Smrg#define	XkbBN_MinorError		"MinorError"
358c9fbc29Smrg#define	XkbBN_MajorError		"MajorError"
368c9fbc29Smrg#define	XkbBN_BadValue			"BadValue"
378c9fbc29Smrg#define	XkbBN_InvalidLocation		"InvalidLocation"
388c9fbc29Smrg#define	XkbBN_Question			"Question"
398c9fbc29Smrg#define	XkbBN_Start			"Start"
408c9fbc29Smrg#define	XkbBN_End			"End"
418c9fbc29Smrg#define	XkbBN_Success			"Success"
428c9fbc29Smrg#define	XkbBN_Failure			"Failure"
438c9fbc29Smrg#define	XkbBN_Wait			"Wait"
448c9fbc29Smrg#define	XkbBN_Proceed			"Proceed"
458c9fbc29Smrg#define	XkbBN_Ignore			"Ignore"
468c9fbc29Smrg#define	XkbBN_Iconify			"Iconify"
478c9fbc29Smrg#define	XkbBN_Deiconify			"Deconify"
488c9fbc29Smrg#define	XkbBN_Open			"Open"
498c9fbc29Smrg#define	XkbBN_Close			"Close"
508c9fbc29Smrg#define	XkbBN_TerminalBell		"TerminalBell"
518c9fbc29Smrg#define	XkbBN_MarginBell		"MarginBell"
528c9fbc29Smrg#define	XkbBN_CursorStuck		"CursorStuck"
538c9fbc29Smrg#define	XkbBN_NewMail			"NewMail"
548c9fbc29Smrg#define	XkbBN_LaunchApp			"LaunchApp"
558c9fbc29Smrg#define	XkbBN_AppDeath			"AppDeath"
568c9fbc29Smrg#define	XkbBN_ImAlive			"ImAlive"
578c9fbc29Smrg#define	XkbBN_ClockChimeHour		"ClockChimeHour"
588c9fbc29Smrg#define	XkbBN_ClockChimeHalf		"ClockChimeHalf"
598c9fbc29Smrg#define	XkbBN_ClockChimeQuarter		"ClockChimeQuarter"
608c9fbc29Smrg#define	XkbBN_RepeatingLastBell		"RepeatingLastBell"
618c9fbc29Smrg#define XkbBN_ComposeFail		"ComposeFail"
628c9fbc29Smrg#define	XkbBN_AX_FeatureOn		"AX_FeatureOn"
638c9fbc29Smrg#define	XkbBN_AX_FeatureOff		"AX_FeatureOff"
648c9fbc29Smrg#define	XkbBN_AX_FeatureChange		"AX_FeatureChange"
658c9fbc29Smrg#define	XkbBN_AX_IndicatorOn		"AX_IndicatorOn"
668c9fbc29Smrg#define	XkbBN_AX_IndicatorOff		"AX_IndicatorOff"
678c9fbc29Smrg#define	XkbBN_AX_IndicatorChange	"AX_IndicatorChange"
688c9fbc29Smrg#define	XkbBN_AX_SlowKeysWarning	"AX_SlowKeysWarning"
698c9fbc29Smrg#define	XkbBN_AX_SlowKeyPress		"AX_SlowKeyPress"
708c9fbc29Smrg#define	XkbBN_AX_SlowKeyAccept		"AX_SlowKeyAccept"
718c9fbc29Smrg#define	XkbBN_AX_SlowKeyReject		"AX_SlowKeyReject"
728c9fbc29Smrg#define	XkbBN_AX_SlowKeyRelease		"AX_SlowKeyRelease"
738c9fbc29Smrg#define	XkbBN_AX_BounceKeyReject	"AX_BounceKeyReject"
748c9fbc29Smrg#define	XkbBN_AX_StickyLatch		"AX_StickyLatch"
758c9fbc29Smrg#define	XkbBN_AX_StickyLock		"AX_StickyLock"
768c9fbc29Smrg#define	XkbBN_AX_StickyUnlock		"AX_StickyUnlock"
778c9fbc29Smrg
788c9fbc29Smrg#define	XkbBI_Info			0
798c9fbc29Smrg#define	XkbBI_Warning			1
808c9fbc29Smrg#define	XkbBI_MinorError		2
818c9fbc29Smrg#define	XkbBI_MajorError		3
828c9fbc29Smrg#define	XkbBI_BadValue			4
838c9fbc29Smrg#define	XkbBI_InvalidLocation		5
848c9fbc29Smrg#define	XkbBI_Question			6
858c9fbc29Smrg#define	XkbBI_Start			7
868c9fbc29Smrg#define	XkbBI_End			8
878c9fbc29Smrg#define	XkbBI_Success			9
888c9fbc29Smrg#define	XkbBI_Failure			10
898c9fbc29Smrg#define	XkbBI_Wait			11
908c9fbc29Smrg#define	XkbBI_Proceed			12
918c9fbc29Smrg#define	XkbBI_Ignore			13
928c9fbc29Smrg#define	XkbBI_Iconify			14
938c9fbc29Smrg#define	XkbBI_Deiconify			15
948c9fbc29Smrg#define	XkbBI_Open			16
958c9fbc29Smrg#define	XkbBI_Close			17
968c9fbc29Smrg#define	XkbBI_TerminalBell		18
978c9fbc29Smrg#define	XkbBI_MarginBell		19
988c9fbc29Smrg#define	XkbBI_CursorStuck		20
998c9fbc29Smrg#define	XkbBI_NewMail			21
1008c9fbc29Smrg#define	XkbBI_LaunchApp			22
1018c9fbc29Smrg#define	XkbBI_AppDeath			23
1028c9fbc29Smrg#define	XkbBI_ImAlive			24
1038c9fbc29Smrg#define	XkbBI_ClockChimeHour		25
1048c9fbc29Smrg#define	XkbBI_ClockChimeHalf		26
1058c9fbc29Smrg#define	XkbBI_ClockChimeQuarter		27
1068c9fbc29Smrg#define	XkbBI_RepeatingLastBell		28
1078c9fbc29Smrg#define	XkbBI_ComposeFail		29
1088c9fbc29Smrg#define	XkbBI_AX_FeatureOn		30
1098c9fbc29Smrg#define	XkbBI_AX_FeatureOff		31
1108c9fbc29Smrg#define	XkbBI_AX_FeatureChange		32
1118c9fbc29Smrg#define	XkbBI_AX_IndicatorOn		33
1128c9fbc29Smrg#define	XkbBI_AX_IndicatorOff		34
1138c9fbc29Smrg#define	XkbBI_AX_IndicatorChange	35
1148c9fbc29Smrg#define	XkbBI_AX_SlowKeysWarning	36
1158c9fbc29Smrg#define	XkbBI_AX_SlowKeyPress		37
1168c9fbc29Smrg#define	XkbBI_AX_SlowKeyAccept		38
1178c9fbc29Smrg#define	XkbBI_AX_SlowKeyReject		39
1188c9fbc29Smrg#define	XkbBI_AX_SlowKeyRelease		40
1198c9fbc29Smrg#define	XkbBI_AX_BounceKeyReject	41
1208c9fbc29Smrg#define	XkbBI_AX_StickyLatch		42
1218c9fbc29Smrg#define	XkbBI_AX_StickyLock		43
1228c9fbc29Smrg#define	XkbBI_AX_StickyUnlock		44
1238c9fbc29Smrg#define	XkbBI_NumBells			45
1248c9fbc29Smrg
1258c9fbc29Smrg_XFUNCPROTOBEGIN
1268c9fbc29Smrg
1278c9fbc29Smrgextern	Bool XkbStdBell(
1288c9fbc29Smrg	Display *	/* dpy */,
1298c9fbc29Smrg	Window		/* win */,
1308c9fbc29Smrg	int		/* percent */,
1318c9fbc29Smrg	int		/* bellDef */
1328c9fbc29Smrg);
1338c9fbc29Smrg
1348c9fbc29Smrgextern	Bool XkbStdBellEvent(
1358c9fbc29Smrg	Display *	/* dpy */,
1368c9fbc29Smrg	Window		/* win */,
1378c9fbc29Smrg	int		/* percent */,
1388c9fbc29Smrg	int		/* bellDef */
1398c9fbc29Smrg);
1408c9fbc29Smrg
1418c9fbc29Smrg_XFUNCPROTOEND
1428c9fbc29Smrg
1438c9fbc29Smrg#endif /* _XKBBELLS_H_ */
144