/usr/include/xview/alert.h is in xviewg-dev 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /* @(#)alert.h 20.16 93/06/28 */
/*
* (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents
* pending in the U.S. and foreign countries. See LEGAL NOTICE
* file for terms of the license.
*/
/* SunView 1.x "alerts" are now called "notices" in SunXView.x. Below
* is for backwards compatibility only. All usages of alert.h should
* be discontinued as further releases may not support this interface.
* Not all "alert" attributes apply in SunXView.x, so full compatiblity
* does not exist.
* Include notice.h definitions and attributes instead.
*/
#ifndef xview_alert_DEFINED
#define xview_alert_DEFINED
/*
***********************************************************************
* Include Files
***********************************************************************
*/
#include <xview/notice.h>
/*
***********************************************************************
* Definitions and Macros
***********************************************************************
*/
/*
* PUBLIC #defines
*/
#define Alert_attribute Notice_attribute
#define ALERT_NO_BEEPING NOTICE_NO_BEEPING
#define ALERT_MESSAGE_STRINGS NOTICE_MESSAGE_STRINGS
#define ALERT_MESSAGE_STRINGS_ARRAY_PTR NOTICE_MESSAGE_STRINGS_ARRAY_PTR
#define ALERT_MESSAGE_FONT NOTICE_FONT
#define ALERT_BUTTON_YES NOTICE_BUTTON_YES
#define ALERT_BUTTON_NO NOTICE_BUTTON_NO
#define ALERT_BUTTON NOTICE_BUTTON
#define ALERT_TRIGGER NOTICE_TRIGGER
/*
* Useful constants
*/
#define ALERT_YES 1
#define ALERT_NO 0
#define ALERT_FAILED -1
#define ALERT_TRIGGERED -2
#define alert_prompt notice_prompt
/*
* PRIVATE #defines
*/
#define alert_attr_next(attr) (Notice_attribute *)attr_next((caddr_t *)attr)
#endif /* ~xview_alert_DEFINED */
|