1 /* $XConsortium: Clock.h /main/4 1995/11/01 11:24:11 rswiston $ */
2 /**---------------------------------------------------------------------
6 *** project: MotifPlus Widgets
8 *** description: Public include file for DtClock class.
9 *** Portions adapted from the Xaw Clock widget.
12 *** (c) Copyright 1990 by Hewlett-Packard Company.
15 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
16 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
20 Permission to use, copy, modify, and distribute this software and its
21 documentation for any purpose and without fee is hereby granted,
22 provided that the above copyright notice appear in all copies and that
23 both that copyright notice and this permission notice appear in
24 supporting documentation, and that the names of Digital or MIT not be
25 used in advertising or publicity pertaining to distribution of the
26 software without specific, written prior permission.
28 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
29 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
30 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
31 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
32 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
33 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
37 ***-------------------------------------------------------------------*/
45 #define DtIsClock(w) XtIsSubclass(w, dtClockGadgetClass)
46 #endif /* DtIsClock */
48 /******** Public Function Declarations ********/
50 extern Widget DtCreateClock(
56 extern WidgetClass dtClockGadgetClass;
58 typedef struct _DtClockClassRec * DtClockClass;
59 typedef struct _DtClockRec * DtClockGadget;
61 #endif /* _DtClock_h */
62 /* DON'T ADD ANYTHING AFTER THIS #endif */