2000-02-25 11:04:07 +00:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// GoldED+
|
|
|
|
// Copyright (C) 1990-1999 Odinn Sorensen
|
|
|
|
// Copyright (C) 1999-2000 Alexander S. Aganichev
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License as
|
|
|
|
// published by the Free Software Foundation; either version 2 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
// MA 02111-1307 USA
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// $Id$
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Product name and version stuff.
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
#include <golded.h>
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
2005-08-26 23:14:24 +00:00
|
|
|
#define __GVER_LONGPID__ __GVER_PRENAME__ __GVER_NAME__ __GVER_POSTNAME__ __GVER_PLATFORM__
|
|
|
|
#define __GVER_SHORTPID__ __GVER_PRESHORTNAME__ __GVER_SHORTNAME__ __GVER_POSTSHORTNAME__ __GVER_SHORTPLATFORM__
|
2001-02-24 18:37:28 +00:00
|
|
|
#define __GVER_VER__(A,B,C) __GVER_PREVERSION__ #A "." #B "." #C __GVER_POSTVERSION__
|
|
|
|
#define __GVER_SVER__(A,B,C) #A "." #B "." #C
|
2000-02-25 11:04:07 +00:00
|
|
|
|
|
|
|
#define __GVER__(__GVER_MAJOR__,__GVER_MINOR__,__GVER_RELEASE__) \
|
2005-08-26 23:14:24 +00:00
|
|
|
int __gver_major__ = __GVER_MAJOR__; \
|
|
|
|
int __gver_minor__ = __GVER_MINOR__; \
|
|
|
|
int __gver_release__ = __GVER_RELEASE__; \
|
|
|
|
const char* __gver_longpid__ = __GVER_LONGPID__; \
|
|
|
|
const char* __gver_shortpid__ = __GVER_SHORTPID__; \
|
|
|
|
const char* __gver_ver__ = __GVER_VER__(__GVER_MAJOR__,__GVER_MINOR__,__GVER_RELEASE__); \
|
|
|
|
const char* __gver_shortver__ = __GVER_SVER__(__GVER_MAJOR__,__GVER_MINOR__,__GVER_RELEASE__);
|
2000-02-25 11:04:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Product name.
|
|
|
|
|
|
|
|
#define __GVER_NAME__ "GoldED"
|
|
|
|
#define __GVER_SHORTNAME__ "GED"
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Vendor data displayed on the startup screen.
|
|
|
|
// Define in "mygolded.h" if you want.
|
|
|
|
|
|
|
|
#define __GVER_VENDOR_NAME__ "Anonymous"
|
|
|
|
#define __GVER_VENDOR_FIDO__ ""
|
|
|
|
#define __GVER_VENDOR_EMAIL__ ""
|
|
|
|
#define __GVER_RELEASENAME__ ""
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Strings prepended and appended to the product name.
|
|
|
|
// Define in "mygolded.h" if you want.
|
|
|
|
|
|
|
|
#define __GVER_PRENAME__ ""
|
|
|
|
#define __GVER_POSTNAME__ ""
|
|
|
|
#define __GVER_PRESHORTNAME__ ""
|
|
|
|
#define __GVER_POSTSHORTNAME__ ""
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Strings prepended and appened to the version numbers.
|
|
|
|
// Define in "mygolded.h" if you want.
|
|
|
|
|
|
|
|
#define __GVER_PREVERSION__ ""
|
|
|
|
#define __GVER_POSTVERSION__ ""
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Platform specific strings.
|
|
|
|
|
|
|
|
#if defined(__MSDOS__)
|
2003-04-03 14:26:43 +00:00
|
|
|
#define __GVER_PLATFORM__ "/DPMI32"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "DPMI"
|
2000-02-25 11:04:07 +00:00
|
|
|
#define __GVER_SHORTLOGNAME__ "X"
|
|
|
|
#define __GVER_CFGEXT__ ".gex"
|
|
|
|
#elif defined(__EMX__)
|
|
|
|
#define __GVER_PLATFORM__ "/EMX"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "2"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "2"
|
|
|
|
#define __GVER_CFGEXT__ ".geo"
|
|
|
|
#elif defined(__OS2__)
|
|
|
|
#define __GVER_PLATFORM__ "/2"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "2"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "2"
|
|
|
|
#define __GVER_CFGEXT__ ".geo"
|
|
|
|
#elif defined(__WIN32__)
|
2005-08-26 23:14:24 +00:00
|
|
|
#if defined(_MSC_VER)
|
|
|
|
#define __GVER_PLATFORM__ "/W32-MSVC"
|
|
|
|
#elif defined(__MINGW32__)
|
|
|
|
#define __GVER_PLATFORM__ "/W32-MINGW"
|
|
|
|
#else
|
2000-02-25 11:04:07 +00:00
|
|
|
#define __GVER_PLATFORM__ "/W32"
|
2005-08-26 23:14:24 +00:00
|
|
|
#endif
|
2000-02-25 11:04:07 +00:00
|
|
|
#define __GVER_SHORTPLATFORM__ "W32"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "W"
|
|
|
|
#define __GVER_CFGEXT__ ".gew"
|
|
|
|
#elif defined(__linux__)
|
|
|
|
#define __GVER_PLATFORM__ "/LNX"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "LNX"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "L"
|
|
|
|
#define __GVER_CFGEXT__ ".gel"
|
2005-08-26 23:14:24 +00:00
|
|
|
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
|
2000-02-25 11:04:07 +00:00
|
|
|
#define __GVER_PLATFORM__ "/BSD"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "BSD"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "B"
|
|
|
|
#define __GVER_CFGEXT__ ".geb"
|
2003-03-29 21:51:19 +00:00
|
|
|
#elif defined(__BEOS__)
|
|
|
|
#define __GVER_PLATFORM__ "/BeOS"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "BeOS"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "B"
|
|
|
|
#define __GVER_CFGEXT__ ".gbe"
|
2003-04-16 08:43:49 +00:00
|
|
|
#elif defined(__QNXNTO__)
|
|
|
|
#define __GVER_PLATFORM__ "/QNX"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "QNX"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "Q"
|
|
|
|
#define __GVER_CFGEXT__ ".gqx"
|
2006-01-18 20:56:03 +00:00
|
|
|
#elif defined(__sun__)
|
|
|
|
#define __GVER_PLATFORM__ "/SUN"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "SUN"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "S"
|
|
|
|
#define __GVER_CFGEXT__ ".gsu"
|
2000-02-25 11:04:07 +00:00
|
|
|
#elif defined(__UNIX__)
|
|
|
|
#define __GVER_PLATFORM__ "/UNX"
|
|
|
|
#define __GVER_SHORTPLATFORM__ "UNX"
|
|
|
|
#define __GVER_SHORTLOGNAME__ "U"
|
|
|
|
#define __GVER_CFGEXT__ ".geu"
|
|
|
|
#else
|
|
|
|
#define __GVER_PLATFORM__ ""
|
|
|
|
#define __GVER_SHORTPLATFORM__ ""
|
|
|
|
#define __GVER_SHORTLOGNAME__ "D"
|
|
|
|
#define __GVER_CFGEXT__ ".ged"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
// Include your personalized strings here:
|
|
|
|
#include <mygolded.h>
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Global variables
|
|
|
|
|
|
|
|
const char* __gver_vendor_name__ = __GVER_VENDOR_NAME__;
|
|
|
|
const char* __gver_vendor_fido__ = __GVER_VENDOR_FIDO__;
|
|
|
|
const char* __gver_vendor_email__ = __GVER_VENDOR_EMAIL__;
|
|
|
|
const char* __gver_prename__ = __GVER_PRENAME__;
|
|
|
|
const char* __gver_preshortname__ = __GVER_PRESHORTNAME__;
|
|
|
|
const char* __gver_name__ = __GVER_NAME__;
|
|
|
|
const char* __gver_shortname__ = __GVER_SHORTNAME__;
|
|
|
|
const char* __gver_shortlogname__ = __GVER_SHORTNAME__ __GVER_SHORTLOGNAME__;
|
|
|
|
const char* __gver_postshortname__ = __GVER_POSTSHORTNAME__;
|
|
|
|
const char* __gver_postname__ = __GVER_POSTNAME__;
|
|
|
|
const char* __gver_platform__ = __GVER_PLATFORM__;
|
|
|
|
const char* __gver_shortplatform__ = __GVER_SHORTPLATFORM__;
|
|
|
|
const char* __gver_cfgext__ = __GVER_CFGEXT__;
|
|
|
|
const char* __gver_preversion__ = __GVER_PREVERSION__;
|
|
|
|
const char* __gver_postversion__ = __GVER_POSTVERSION__;
|
|
|
|
const char* __gver_releasename__ = __GVER_RELEASENAME__;
|
|
|
|
const char* __gver_date__ = __DATE__;
|
|
|
|
const char* __gver_time__ = __TIME__;
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|