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