Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtwm / Clock.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: Clock.h /main/4 1995/11/01 11:24:11 rswiston $ */
24 /**---------------------------------------------------------------------
25 ***     
26 ***     file:           Clock.h
27 ***
28 ***     project:        MotifPlus Widgets
29 ***
30 ***     description:    Public include file for DtClock class.
31 ***                     Portions adapted from the Xaw Clock widget.
32 ***     
33 ***     
34 ***                     (c) Copyright 1990 by Hewlett-Packard Company.
35 ***
36 ***
37 Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
38 and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
39
40                         All Rights Reserved
41
42 Permission to use, copy, modify, and distribute this software and its 
43 documentation for any purpose and without fee is hereby granted, 
44 provided that the above copyright notice appear in all copies and that
45 both that copyright notice and this permission notice appear in 
46 supporting documentation, and that the names of Digital or MIT not be
47 used in advertising or publicity pertaining to distribution of the
48 software without specific, written prior permission.  
49
50 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
51 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
52 DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
53 ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
54 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
55 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
56 SOFTWARE.
57 ***
58 ***
59 ***-------------------------------------------------------------------*/
60
61 #ifndef _DtClock_h
62 #define _DtClock_h
63
64 #include <Xm/Xm.h>
65
66 #ifndef DtIsClock
67 #define DtIsClock(w) XtIsSubclass(w, dtClockGadgetClass)
68 #endif /* DtIsClock */
69
70 /********    Public Function Declarations    ********/
71
72 extern Widget DtCreateClock( 
73                         Widget parent,
74                         String name,
75                         ArgList arglist,
76                         Cardinal argcount) ;
77
78 extern WidgetClass dtClockGadgetClass;
79
80 typedef struct _DtClockClassRec * DtClockClass;
81 typedef struct _DtClockRec      * DtClockGadget;
82
83 #endif /* _DtClock_h */
84 /* DON'T ADD ANYTHING AFTER THIS #endif */