/* ***** BEGIN LICENSE BLOCK ***** 
 * Version: RCSL 1.0/RPSL 1.0 
 *  
 * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
 *      
 * The contents of this file, and the files included with this file, are 
 * subject to the current version of the RealNetworks Public Source License 
 * Version 1.0 (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the RealNetworks Community Source License Version 1.0 
 * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
 * in which case the RCSL will apply. You may also obtain the license terms 
 * directly from RealNetworks.  You may not use this file except in 
 * compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
 * applicable to this file, the RCSL.  Please see the applicable RPSL or 
 * RCSL for the rights, obligations and limitations governing use of the 
 * contents of the file.  
 *  
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the portions 
 * it created. 
 *  
 * This file, and the files included with this file, is distributed and made 
 * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
 * 
 * Technology Compatibility Kit Test Suite(s) Location: 
 *    http://www.helixcommunity.org/content/tck 
 * 
 * Contributor(s): 
 *  
 * ***** END LICENSE BLOCK ***** */ 

#ifndef RNVER_H
#define RNVER_H

////////////////////////////////////////////////////////////////////////////////
// NOTE:
//		To change build or version number change the follow defines only!
//		All version resource numbers are derived from the folloing defines.
//		We would like to automatically build the STRING_VERSION macro from
//		the numeric version numbers, but I have not figured out how to perform
//		such an operation. So for now, when the build number changes, we will
//		need to change both the BUILD_NUMBER value and the STR_BUILD_NUMBER
//		value as well.
//
#define		MAJOR_VERSION					2
#define         MINOR_VERSION                                   1
#define		RELEASE_NUMBER					0
#define         BUILD_NUMBER                                    0

#define		STR_MAJOR_VERSION				"6"
#define         STR_MINOR_VERSION                               "0"
#define		STR_RELEASE_NUMBER				"0"
#define         STR_BUILD_NUMBER                                "1"
//
////////////////////////////////////////////////////////////////////////////////

#define		ULONG32_VERSION(ma,mi,s,b)		((ma << 28) | (mi << 20) | (s << 12) | b)
#define		LIST_VERSION(ma,mi,s,b)			ma,mi,s,b
#define		STRING_VERSION(ma,mi,s,b)		ma "." mi "." s "." b "\0"

//      Standard Product versions
#define		STANDARD_ULONG32_VERSION		ULONG32_VERSION(MAJOR_VERSION,MINOR_VERSION,RELEASE_NUMBER,BUILD_NUMBER)
#define		STANDARD_LIST_VERSION			LIST_VERSION(MAJOR_VERSION,MINOR_VERSION,RELEASE_NUMBER,BUILD_NUMBER)
#define		STANDARD_STRING_VERSION			STRING_VERSION(STR_MAJOR_VERSION,STR_MINOR_VERSION,STR_RELEASE_NUMBER,STR_BUILD_NUMBER)

//      File OS for built modules depends on the compiler...
#ifdef WIN32
#define VER_FILEOS	VOS__WINDOWS32
#else
#define VER_FILEOS	VOS__WINDOWS16
#endif

/********************************************************************
|       Version related strings.  
|
|       NOTE TO TRANSLATORS:
|       You will need to ensure that an appropriate language is defined and
|       tested for here.  The example case is LANG_FOO.
\********************************************************************/

//      Common Version Info (Company, Copyright, Product, & Trademarks)
// #if defined( RC_INVOKED ) 
//      TRANSLATOR: These strings are for the ENGLISH language version of the product
//      DO NOT CHANGE THEM!!!!
#define         LANGUAGE_CODE					"EN"
#define         RCLI_PRERELEASE                 "Version 2.1" 

#define         HXVER_COMMUNITY                 "RealNetworks"
#define         HXVER_COMPANY                   " " // the resource parsing code in client\xres does not handle empty values. Use space for empty.
#define         HXVER_COPYRIGHT                 "Copyright(c) RealNetworks, Inc. 1995-2004. All rights reserved. Source code for this program is available under the RealNetworks Public Source License.\0" 
#define         HXVER_TRADEMARKS                " " // see above
#define         HXVER_MOREINFO                  "http://www.helixcommunity.org\0" 

#define		RNVER_PLAYER_DISPLAY_NAME	"RealPlayer"
#define		RNVER_PLAYER_DISPLAY_NAME_TM    "RealPlayerŽ"
//XXXgfw This hacked up user agent string is just a work around until
//NetCache fixes what user agent string they look for. If they don't
//find 'RealMedia Player' at the begining then certain stream don't
//work right or just don't play.
#define         USER_AGENT_STRING               "RealMedia Player (HelixDNAClient)/"

#define         STRBUILD						"" 

#define         STREND							"\0" 

#if defined(_WIN32) || defined(_UNIX)
#define         STRPLATFORM						" (32-bit) "
#elif defined(_WIN16)
#define         STRPLATFORM						" (16-bit) "
#elif defined(_MACINTOSH)
#define         STRPLATFORM						" MacPPC "
#endif

#define         HXVER_SDK_PRODUCT	    "RealMediaSDK"

#define         TOOLS_TRADEMARKS "\0"

#endif  //      !defined( RNVER_H )
