version 1.40, 2006/01/31 16:06:21
|
version 1.46.2.6, 2008/09/30 23:27:19
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Karl Schopmeyer (k.schopmeyer@opengroup.org) |
|
// |
|
// Modified By: Jenny Yu (jenny_yu@hp.com) |
|
// Warren Otsuka (warren.otsuka@hp.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_Version_h | #ifndef Pegasus_Version_h |
|
|
#ifdef PEGASUS_OVERRIDE_PRODUCT_ID | #ifdef PEGASUS_OVERRIDE_PRODUCT_ID |
# include <Pegasus/Common/ProductVersion.h> | # include <Pegasus/Common/ProductVersion.h> |
#else | #else |
|
// |
|
// The Pegasus version string should be changed immediatly after a release |
|
// to include the word development and should then be changed immediatly |
|
// prior to release to remove it. Leaving the Version set to the prior release |
|
// makes it difficult to determine a development version from a released |
|
// version that may be in use. |
|
// |
|
// The sequence would look like: |
|
// # define PEGASUS_PRODUCT_VERSION "2.5" |
|
// # define PEGASUS_PRODUCT_STATUS "" // Blank implies Released |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.1" |
|
// # define PEGASUS_PRODUCT_STATUS "Development" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.1" |
|
// # define PEGASUS_PRODUCT_STATUS "Pre-Release" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.1" |
|
// # define PEGASUS_PRODUCT_STATUS "" // Blank implies Released |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.2" |
|
// # define PEGASUS_PRODUCT_STATUS "Development" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.2" |
|
// # define PEGASUS_PRODUCT_STATUS "Pre-Release" |
|
// |
|
// # define PEGASUS_PRODUCT_VERSION "2.5.2" |
|
// # define PEGASUS_PRODUCT_STATUS "" // Blank implies Released |
|
// |
|
|
|
|
# define PEGASUS_PRODUCT_NAME "CIM Server" | # define PEGASUS_PRODUCT_NAME "CIM Server" |
# define PEGASUS_PRODUCT_VERSION "2.5" |
|
# define PEGASUS_PRODUCT_STATUS "" | # define PEGASUS_PRODUCT_STATUS "" |
|
# define PEGASUS_PRODUCT_VERSION "2.6.3" |
|
|
# define PEGASUS_CIMOM_GENERIC_NAME "Pegasus" | # define PEGASUS_CIMOM_GENERIC_NAME "Pegasus" |
// If the following is non-zero length it becomes SLP description. | // If the following is non-zero length it becomes SLP description. |
# define PEGASUS_CIMOM_DESCRIPTION "" | # define PEGASUS_CIMOM_DESCRIPTION "" |
|
|
# define COMPONENT_BUILD_DATE __DATE__ | # define COMPONENT_BUILD_DATE __DATE__ |
# endif | # endif |
| |
|
#ifdef PEGASUS_PLATFORM_HPUX_IA64_ACC |
|
#pragma VERSIONID \ |
|
"@(#)" PEGASUS_PRODUCT_NAME " " PEGASUS_PRODUCT_VERSION " "\ |
|
PEGASUS_PRODUCT_STATUS "(" PLATFORM_BUILD_DATE ")" "\n@(#)"\ |
|
PEGASUS_PRODUCT_NAME "-" PLATFORM_COMPONENT_NAME " "\ |
|
PLATFORM_COMPONENT_VERSION " " PLATFORM_COMPONENT_STATUS "("\ |
|
COMPONENT_BUILD_DATE ")" |
|
#else |
static const char *PLATFORM_EMBEDDED_IDENTIFICATION_STRING = | static const char *PLATFORM_EMBEDDED_IDENTIFICATION_STRING = |
"@(#)" PEGASUS_PRODUCT_NAME " " PEGASUS_PRODUCT_VERSION " " | "@(#)" PEGASUS_PRODUCT_NAME " " PEGASUS_PRODUCT_VERSION " " |
PEGASUS_PRODUCT_STATUS "(" PLATFORM_BUILD_DATE ")" "\n@(#)" | PEGASUS_PRODUCT_STATUS "(" PLATFORM_BUILD_DATE ")" "\n@(#)" |
PEGASUS_PRODUCT_NAME "-" PLATFORM_COMPONENT_NAME " " | PEGASUS_PRODUCT_NAME "-" PLATFORM_COMPONENT_NAME " " |
PLATFORM_COMPONENT_VERSION " " PLATFORM_COMPONENT_STATUS "(" | PLATFORM_COMPONENT_VERSION " " PLATFORM_COMPONENT_STATUS "(" |
COMPONENT_BUILD_DATE ")"; | COMPONENT_BUILD_DATE ")"; |
|
#endif |
|
|
|
#endif /* PEGASUS_OS_HPUX */ |
| |
// This macro can be examined by preprocessor directives (i.e., #if) to | // This macro can be examined by preprocessor directives (i.e., #if) to |
// make compile time branch decisions based on the Pegasus version number. | // make compile time branch decisions based on the Pegasus version number. |
|
|
// CAUTION: always check whether PEGASUS_VERSION_NUMBER is defined when | // CAUTION: always check whether PEGASUS_VERSION_NUMBER is defined when |
// integrating with versions prior to 2.5.1. | // integrating with versions prior to 2.5.1. |
// | // |
#define PEGASUS_VERSION_NUMBER 0x02050100 |
#define PEGASUS_VERSION_NUMBER 0x02060300 |
|
|
#endif /* PEGASUS_OS_HPUX */ |
|
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |