Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
/* $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 */
CacheListStruct *pCacheListHead;
CacheListStruct *pCacheListTale;
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 */