Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtwm / Clock.h
1 /* $XConsortium: Clock.h /main/4 1995/11/01 11:24:11 rswiston $ */
2 /**---------------------------------------------------------------------
3 ***     
4 ***     file:           Clock.h
5 ***
6 ***     project:        MotifPlus Widgets
7 ***
8 ***     description:    Public include file for DtClock class.
9 ***                     Portions adapted from the Xaw Clock widget.
10 ***     
11 ***     
12 ***                     (c) Copyright 1990 by Hewlett-Packard Company.
13 ***
14 ***
15 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
16 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
17
18                         All Rights Reserved
19
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.  
27
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
34 SOFTWARE.
35 ***
36 ***
37 ***-------------------------------------------------------------------*/
38
39 #ifndef _DtClock_h
40 #define _DtClock_h
41
42 #include <Xm/Xm.h>
43
44 #ifndef DtIsClock
45 #define DtIsClock(w) XtIsSubclass(w, dtClockGadgetClass)
46 #endif /* DtIsClock */
47
48 /********    Public Function Declarations    ********/
49
50 extern Widget DtCreateClock( 
51                         Widget parent,
52                         String name,
53                         ArgList arglist,
54                         Cardinal argcount) ;
55
56 extern WidgetClass dtClockGadgetClass;
57
58 typedef struct _DtClockClassRec * DtClockClass;
59 typedef struct _DtClockRec      * DtClockGadget;
60
61 #endif /* _DtClock_h */
62 /* DON'T ADD ANYTHING AFTER THIS #endif */