/* * CDE - Common Desktop Environment * * Copyright (c) 1993-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) * any later version. * * These libraries and programs are distributed in the hope that * they will be useful, but WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU Lesser General Public License for more * details. * * You should have received a copy of the GNU Lesser General Public * License along with these libraries and programs; if not, write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth * Floor, Boston, MA 02110-1301 USA */ /* $XConsortium: Main.h /main/3 1995/11/08 09:19:11 rswiston $ */ /************************************<+>************************************* **************************************************************************** ** ** File: Main.h ** ** Project: CDE dthelpdemo sample program. ** ** Description: This is the main header file for the dthelpdemo ** program. It includes globally referenced variables and ** defines. ** ** ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994 ** Hewlett-Packard Company ** (c) Copyright 1993, 1994 International Business Machines Corp. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc. ** (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of ** Novell, Inc. ** **************************************************************************** ************************************<+>*************************************/ #ifndef _Main_h #define _Main_h #include "HelpCacheI.h" /* Option defines for menubar help access */ #define HELP_ON_ITEM 1 #define HELP_ON_TOPIC 2 #define HELP_ON_VERSION 3 /* Option defines for Sample Buttons */ #define CREATE_SAMPLE 1 #define DESTROY_SAMPLE 2 #define CHANGE_CONTENT 3 #define CHANGE_SIZE 4 #define CHANGE_GUI 5 #define SHOW_APP_DEFINED_LINKS 6 /* Global Variables Used by our helpCache */ extern CacheListStruct *pCacheListHead; extern CacheListStruct *pCacheListTale; extern int totalCacheNodes; /* Globally referenced widget variables */ extern Widget topLevel; extern Widget mainShell; extern Widget manWidget; #endif /* _Main_h */ /* DON'T ADD ANYTHING AFTER THIS #endif */