Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dthelp / dthelpdemo / Main.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: Main.h /main/3 1995/11/08 09:19:11 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **  File:        Main.h
28  **
29  **  Project:     CDE dthelpdemo sample program.
30  **
31  **  Description: This is the main header file for the dthelpdemo
32  **               program.  It includes globally referenced variables and
33  **               defines.
34  **
35  **
36  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
37  **      Hewlett-Packard Company
38  **  (c) Copyright 1993, 1994 International Business Machines Corp.
39  **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
40  **  (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
41  **      Novell, Inc.
42  **
43  ****************************************************************************
44  ************************************<+>*************************************/
45
46 #ifndef _Main_h
47 #define _Main_h
48
49 #include "HelpCacheI.h"
50
51 /* Option defines for menubar help access */
52 #define HELP_ON_ITEM     1
53 #define HELP_ON_TOPIC    2
54 #define HELP_ON_VERSION  3
55
56 /* Option defines for Sample Buttons */
57 #define CREATE_SAMPLE          1
58 #define DESTROY_SAMPLE         2
59 #define CHANGE_CONTENT         3
60 #define CHANGE_SIZE            4
61 #define CHANGE_GUI             5
62 #define SHOW_APP_DEFINED_LINKS 6
63
64
65 /* Global Variables Used by our helpCache */
66
67 CacheListStruct *pCacheListHead;
68 CacheListStruct *pCacheListTale;
69 int             totalCacheNodes;
70
71 /*  Globally referenced widget variables */
72 extern Widget topLevel;
73 extern Widget mainShell;
74 extern Widget manWidget;
75
76
77 #endif /* _Main_h */
78 /* DON'T ADD ANYTHING AFTER THIS #endif */
79
80
81
82
83
84