#ifdef REV_INFO
#ifndef lint
static char SCCSID[] = "OSF/Motif: @(#)Vendor.h	3.2 90/03/03";
#endif /* lint */
#endif /* REV_INFO */
/************************************<+>*************************************
 ****************************************************************************
 **
 **   File:        Vendor.h
 **
 **   Project:     Motif -- OSF X User Environment Widget Set
 **
 **   Description: Public include file for the VendorShell class
 **
 **
 ****************************************************************************
 *************************************<+>************************************/


/******************************************************************************
*******************************************************************************
*
*  (c) Copyright 1989, 1990, OPEN SOFTWARE FOUNDATION, INC.
*  (c) Copyright 1987, 1988, 1989, 1990, HEWLETT-PACKARD COMPANY
*  ALL RIGHTS RESERVED
*
*       THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED
*  AND COPIED ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND
*  WITH THE INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR
*  ANY OTHER COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE
*  AVAILABLE TO ANY OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF THE
*  SOFTWARE IS HEREBY TRANSFERRED.
*
*       THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT
*  NOTICE AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY OPEN SOFTWARE
*  FOUNDATION, INC. OR ITS THIRD PARTY SUPPLIERS
*
*       OPEN SOFTWARE FOUNDATION, INC. AND ITS THIRD PARTY SUPPLIERS,
*  ASSUME NO RESPONSIBILITY FOR THE USE OR INABILITY TO USE ANY OF ITS
*  SOFTWARE .   OSF SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
*  KIND, AND OSF EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING
*  BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
*  FITNESS FOR A PARTICULAR PURPOSE.
*
*  Notice:  Notwithstanding any other lease or license that may pertain to,
*  or accompany the delivery of, this computer software, the rights of the
*  Government regarding its use, reproduction and disclosure are as set
*  forth in Section 52.227-19 of the FARS Computer Software-Restricted
*  Rights clause.
*
*  (c) Copyright 1989, 1990, Open Software Foundation, Inc.  Unpublished - all
*  rights reserved under the Copyright laws of the United States.
*
*  RESTRICTED RIGHTS NOTICE:  Use, duplication, or disclosure by the
*  Government is subject to the restrictions as set forth in subparagraph
*  (c)(1)(ii) of the Rights in Technical Data and Computer Software clause
*  at DFARS 52.227-7013.
*
*  Open Software Foundation, Inc.
*  11 Cambridge Center
*  Cambridge, MA   02142
*  (617)621-8700
*
*  RESTRICTED RIGHTS LEGEND:  This computer software is submitted with
*  "restricted rights."  Use, duplication or disclosure is subject to the
*  restrictions as set forth in NASA FAR SUP 18-52.227-79 (April 1985)
*  "Commercial Computer Software- Restricted Rights (April 1985)."  Open
*  Software Foundation, Inc., 11 Cambridge Center, Cambridge, MA  02142.  If
*  the contract contains the Clause at 18-52.227-74 "Rights in Data General"
*  then the "Alternate III" clause applies.
*
*  (c) Copyright 1989, 1990, Open Software Foundation, Inc.
*  ALL RIGHTS RESERVED
*
*
* Open Software Foundation is a trademark of The Open Software Foundation, Inc.
* OSF is a trademark of Open Software Foundation, Inc.
* OSF/Motif is a trademark of Open Software Foundation, Inc.
* Motif is a trademark of Open Software Foundation, Inc.
* X Window System is a trademark of the Massachusetts Institute of Technology
*
*
*******************************************************************************
******************************************************************************/

#ifndef _Vendor_h
#define _Vendor_h

/***********************************************************************
 *
 * VendorShell Widget
 *
 ***********************************************************************/
#ifdef DECHINTS
#define XtNiconifyPixmap	"iconifyPixmap"
#define XtCIconifyPixmap	"IconifyPixmap"
#define XtNiconBoxX		"iconBoxX"
#define XtCIconBoxX		"IconBoxX"
#define XtNiconBoxY		"iconBoxY"
#define XtCIconBoxY		"IconBoxY"
#define XtNtiled		"tiled"
#define XtCTiled		"Tiled"
#define XtNsticky		"sticky"
#define XtCSticky		"Sticky"
#define XtNnoIconify		"noIconify"
#define XtCNoIconify		"NoIconify"
#define XtNnoLower		"noLower"
#define XtCNoLower		"NoLower"
#define XtNnoResize		"noResize"
#define XtCNoResize		"NoResize"
#define XtNiconBox		"iconBox"
#define XtCIconBox		"IconBox"

/* Copyright notice resources -- now obsolete */
#define XtNcopyright		"copyright"
#define XtCCopyright		"Copyright"
#define XtNcopyrightNotice	"copyrightNotice"
#define XtCCopyrightNotice	"CopyrightNotice"
#define XtNcopyrightMessage	"copyrightMessage"
#define XtCCopyrightMessage	"CopyrightMessage"
#define XtNcopyrightFont	"copyrightFont"
#define XtNcopyrightForeground	"copyrightForeground"
#define XtNcopyrightBackground	"copyrightBackground"
#define XtNcopyrightBorderColor	"copyrightBorderColor"
#define XtNcopyrightBorderWidth	"copyrightBorderWidth"
#define XtCCopyrightBorderWidth	"CopyrightBorderWidth"
#define XtNcopyrightMinTime	"copyrightMinTime"
#define XtCCopyrightMinTime	"copyrightMinTime"
#define XtNcopyrightMaxTime	"copyrightMaxTime"
#define XtCCopyrightMaxTime	"copyrightMaxTime"

/* These can only be gotten, not set */

#define XtNdecWmValueMask	"decWmValueMask"
#define XtCDecWmValueMask	"DecWmValueMask"
#define XtNtitleFont		"titleFont"
#define XtCTitleFont		"TitleFont"
#define XtNiconFont		"iconFont"
#define XtCIconFont		"IconFont"
#ifndef XtNborderWidth
#define XtNborderWidth		"borderWidth"
#endif
#ifndef XtCBorderWidth
#define XtCBorderWidth		"BorderWidth"
#endif
#define XtNtitleHeight		"titleHeight"
#define XtCTitleHeight		"TitleHeight"
#define XtNnonTitleWidth	"nonTitleWidth"
#define XtCNonTitleWidth	"NonTitleWidth"
#define XtNiconNameWidth	"iconNameWidth"
#define XtCIconNameWidth	"IconNameWidth"
#define XtNiconifyWidth		"iconifyWidth"
#define XtCIconifyWidth		"IconifyWidth"
#define XtNiconifyHeight	"iconifyHeight"
#define XtCIconifyHeight	"IconifyHeight"
#define XtNiconState		"iconState"
#define XtCIconState		"IconState"

#define DECWmIconifyPixmapMask		(1L<<0)
#define DECWmIconBoxXMask 		(1L<<1)
#define DECWmIconBoxYMask		(1L<<2)
#define DECWmTiledMask			(1L<<3)
#define DECWmStickyMask			(1L<<4)
#define DECWmNoIconifyButtonMask	(1L<<5)
#define DECWmNoLowerButtonMask		(1L<<6)
#define DECWmNoResizeButtonMask		(1L<<7)
#else
#ifndef NOT_MOTIF

/* exported functions */

extern Boolean	XmIsMotifWMRunning(/* shell */);
/*
  Widget	shell;
*/
#ifndef XmIsVendorShell
#define XmIsVendorShell(w)	XtIsSubclass(w, vendorShellWidgetClass)
#endif /* XmIsVendorShell */
#endif /* NOT_MOTIF */
#endif /* DECHINTS */

/* Class record constants */

typedef struct _VendorShellRec *VendorShellWidget;
typedef struct _VendorShellClassRec *VendorShellWidgetClass;

externalref WidgetClass vendorShellWidgetClass;

#endif /* _Vendor_h */
/* DON'T ADD STUFF AFTER THIS #endif */
