(file) Return to PegasusVersion.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/PegasusVersion.h between version 1.26 and 1.60

version 1.26, 2003/10/15 16:52:54 version 1.60, 2012/07/30 09:23:47
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%LICENSE////////////////////////////////////////////////////////////////
 //  
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  
 // The Open Group, Tivoli Systems  
 //  
 // Permission is hereby granted, free of charge, to any person obtaining a copy  
 // of this software and associated documentation files (the "Software"), to  
 // deal in the Software without restriction, including without limitation the  
 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or  
 // sell copies of the Software, and to permit persons to whom the Software is  
 // furnished to do so, subject to the following conditions:  
 //  
 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN  
 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED  
 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT  
 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR  
 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT  
 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN  
 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION  
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  
 // //
 //==============================================================================  // Licensed to The Open Group (TOG) under one or more contributor license
   // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
   // this work for additional information regarding copyright ownership.
   // Each contributor licenses this file to you under the OpenPegasus Open
   // Source License; you may not use this file except in compliance with the
   // License.
   //
   // Permission is hereby granted, free of charge, to any person obtaining a
   // copy of this software and associated documentation files (the "Software"),
   // to deal in the Software without restriction, including without limitation
   // the rights to use, copy, modify, merge, publish, distribute, sublicense,
   // and/or sell copies of the Software, and to permit persons to whom the
   // Software is furnished to do so, subject to the following conditions:
   //
   // The above copyright notice and this permission notice shall be included
   // in all copies or substantial portions of the Software.
   //
   // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
   // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
   // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
   // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
   // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 // //
 // Author: Karl Schopmeyer (k.schopmeyer@opengroup.org)  //////////////////////////////////////////////////////////////////////////
 //  /*
 // Modified By: Jenny Yu (jenny_yu@hp.com)  
 //              Warren Otsuka (warren.otsuka@hp.com)  
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
   */
  
 #ifndef Pegasus_Version_h #ifndef Pegasus_Version_h
 #define Pegasus_Version_h #define Pegasus_Version_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
  
 PEGASUS_NAMESPACE_BEGIN  #ifdef PEGASUS_OVERRIDE_PRODUCT_ID
   # include <Pegasus/Common/ProductVersion.h>
   #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
   //
   
  
 const char PEGASUS_NAME[] = "CIM Server ";  # define PEGASUS_PRODUCT_NAME    "CIM Server"
 const char PEGASUS_VERSION[] = "2.3";  
 const char PEGASUS_STATUS[] = "Experimental" ;  
  
 #if defined(PLATFORM_VERSION_SUPPORTED)  # define PEGASUS_PRODUCT_STATUS  "Development"
 #  if defined(PEGASUS_PLATFORM_HPUX_ACC)  # define PEGASUS_PRODUCT_VERSION "2.12.0"
 #    include <Pegasus/Common/Version_HPUX_ACC.h>  
 #  elif defined(PEGASUS_PLATFORM_LINUX_IA64_GNU)  # define PEGASUS_CIMOM_GENERIC_NAME "Pegasus"
 #    include <Pegasus/Common/Version_Linux_IA64.h>  // If the following is non-zero length it becomes SLP description.
   # define PEGASUS_CIMOM_DESCRIPTION ""
 #  endif #  endif
   
   #ifdef PEGASUS_OS_HPUX
   // Define the "what" string for binary files
   
   # ifndef PLATFORM_BUILD_DATE
   #  define PLATFORM_BUILD_DATE __DATE__
 #endif #endif
  
 PEGASUS_NAMESPACE_END  # ifndef PLATFORM_COMPONENT_NAME
   #  define PLATFORM_COMPONENT_NAME  "Pegasus Component"
   # endif
   
   # ifndef PLATFORM_COMPONENT_VERSION
   #  define PLATFORM_COMPONENT_VERSION PEGASUS_PRODUCT_VERSION
   # endif
   
   # ifndef PLATFORM_COMPONENT_STATUS
   #  define PLATFORM_COMPONENT_STATUS PEGASUS_PRODUCT_STATUS
   # endif
   
   # ifndef COMPONENT_BUILD_DATE
   #  define COMPONENT_BUILD_DATE __DATE__
   # endif
   
   #if defined (PEGASUS_PLATFORM_HPUX_IA64_ACC) || \
       defined (PEGASUS_PLATFORM_HPUX_IA64_GNU)
   #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 =
       "@(#)" 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 ")";
   #endif
   
   #endif /* PEGASUS_OS_HPUX */
   
   // This macro can be examined by preprocessor directives (i.e., #if) to
   // make compile time branch decisions based on the Pegasus version number.
   // When read from left to right, the bytes have the following meaning:
   //
   //     Byte 0: major version number
   //     Byte 1: minor version number
   //     Byte 2: revision
   //     Byte 3: reserved
   //
   // This macro appeared for the first time in version 2.5.1 (0x02050100).
   // Hence its absence indicates a version earlier than that. The following
   // tests for a Pegasus version of at least 2.5.1:
   //
   //   #if defined(PEGASUS_VERSION_NUMBER)
   //     ..
   //   #endif
   //
   // And this tests whether the version is greater than 2.5.2:
   //
   //    #if defined(PEGASUS_VERSION_NUMBER) && PEGASUS_VERSION_NUMBER > 0x02050200
   //      ..
   //    #endif
   //
   // CAUTION: always check whether PEGASUS_VERSION_NUMBER is defined when
   // integrating with versions prior to 2.5.1.
   //
   #define PEGASUS_VERSION_NUMBER 0x02120000
  
 #endif /* Pegasus_Version_h */ #endif /* Pegasus_Version_h */


Legend:
Removed from v.1.26  
changed lines
  Added in v.1.60

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2