1/* $XConsortium: Mailbox.h,v 1.21 94/04/17 20:43:27 rws Exp $ */ 2/* 3 4Copyright (c) 1988 X Consortium 5 6Permission is hereby granted, free of charge, to any person obtaining 7a copy of this software and associated documentation files (the 8"Software"), to deal in the Software without restriction, including 9without limitation the rights to use, copy, modify, merge, publish, 10distribute, sublicense, and/or sell copies of the Software, and to 11permit persons to whom the Software is furnished to do so, subject to 12the following conditions: 13 14The above copyright notice and this permission notice shall be included 15in all copies or substantial portions of the Software. 16 17THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR 21OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 22ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23OTHER DEALINGS IN THE SOFTWARE. 24 25Except as contained in this notice, the name of the X Consortium shall 26not be used in advertising or otherwise to promote the sale, use or 27other dealings in this Software without prior written authorization 28from the X Consortium. 29 30*/ 31 32#ifndef _XawMailbox_h 33#define _XawMailbox_h 34 35/* 36 * Mailbox widget; looks a lot like the clock widget, don't it... 37 */ 38 39/* resource names used by mailbox widget that aren't defined in StringDefs.h */ 40 41#ifndef _XtStringDefs_h_ 42#define XtNupdate "update" 43#endif 44 45/* command to exec */ 46#define XtNcheckCommand "checkCommand" 47#define XtNonceOnly "onceOnly" 48 49/* Int: volume for bell */ 50#define XtNvolume "volume" 51#define XtNfullPixmap "fullPixmap" 52#define XtNfullPixmapMask "fullPixmapMask" 53#define XtNemptyPixmap "emptyPixmap" 54#define XtNemptyPixmapMask "emptyPixmapMask" 55#define XtNflip "flip" 56#define XtNshapeWindow "shapeWindow" 57 58#define XtCCheckCommand "CheckCommand" 59#define XtCVolume "Volume" 60#define XtCPixmapMask "PixmapMask" 61#define XtCFlip "Flip" 62#define XtCShapeWindow "ShapeWindow" 63 64 65/* structures */ 66 67typedef struct _MailboxRec *MailboxWidget; /* see MailboxP.h */ 68typedef struct _MailboxClassRec *MailboxWidgetClass; /* see MailboxP.h */ 69 70 71extern WidgetClass mailboxWidgetClass; 72 73#endif /* _XawMailbox_h */ 74/* DON'T ADD STUFF AFTER THIS #endif */ 75