gecko-dev/include/gui.h

69 lines
2.5 KiB
C
Raw Normal View History

1998-03-28 02:44:41 +00:00
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
1998-03-28 02:44:41 +00:00
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
1998-03-28 02:44:41 +00:00
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
1998-03-28 02:44:41 +00:00
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
1998-03-28 02:44:41 +00:00
*/
#ifndef _GUI_H_
#define _GUI_H_
/* These are defined in libnet/mkhttp.c.
XP_AppName The name of the client program - usually "Netscape", but
possibly something else for bundled versions, like the
MCI client.
XP_AppCodeName The name sent at the HTTP vendor ID string; regardless of
the value of XP_AppName, this must be "Mozilla" or
everything will break.
XP_AppVersion The version number of the client as a string. This is the
string sent along with the vendor ID string, so it should be
of the form "1.1N (Windows)" or "1.1N (X11; SunOS 4.1.3)".
XP_AppLanguage The language of the navigator client. Usually a two-letter
code (EN, FR) but could be a 5-letter code for translations
where a sub-language designation is appropriate (FR_CA)
XP_AppPlatform The compiled flavor of the navigator (as opposed to what
it may actually be running on).
*/
XP_BEGIN_PROTOS
#if defined(XP_WIN) || defined(XP_OS2)
extern char *XP_AppName, *XP_AppCodeName, *XP_AppVersion;
extern char *XP_AppLanguage, *XP_AppPlatform;
#else
extern const char *XP_AppName, *XP_AppCodeName, *XP_AppVersion;
extern const char *XP_AppLanguage, *XP_AppPlatform;
#endif
XP_END_PROTOS
/* this define is needed for error message efficiency
*
* please don't comment it out for UNIX - LJM
*/
/* this is constant across languages - do NOT localize it */
#define XP_CANONICAL_CLIENT_NAME "Netscape"
/* name of the program */
/* XP_LOCAL_CLIENT_NAME was never used consistently: use XP_AppName instead. */
#endif /* _GUI_H_ */