Debian Codegraph @

demos/unsupported/dogs/Dog.h

raw
1 /*
2 * Motif
3 *
4 * Copyright (c) 1987-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 /*
24 * HISTORY
25 */
26 /* $XConsortium: Dog.h /main/5 1995/07/14 10:05:31 drk $ */
27
28 /*****************************************************************************
29 *
30 * Dog.h - widget public header file
31 *
32 ******************************************************************************/
33
34 #ifndef _Dog_h
35 #define _Dog_h
36
37 #define USING_UIL
38
39 externalref WidgetClass dogWidgetClass;
40
41 typedef struct _DogClassRec *DogWidgetClass;
42 typedef struct _DogRec *DogWidget;
43
44 #define DogNbarkCallback "barkCallback"
45 #define DogNwagTime "wagTime"
46 #define DogNbarkTime "barkTime"
47
48 #define DogCWagTime "WagTime"
49 #define DogCBarkTime "BarkTime"
50
51 #define IsDog(w) XtIsSubclass((w), dogWidgetClass)
52
53 extern Widget DogCreate();
54 #ifdef USING_UIL
55 extern int DogMrmInitialize();
56 #endif
57
58 #endif /* _Dog_h */
59 /* DON'T ADD ANYTHING AFTER THIS #endif */