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

  1 kumpf 1.48.2.2 /*
  2 karl  1.39     //%2006////////////////////////////////////////////////////////////////////////
  3 mike  1.11     //
  4 karl  1.32     // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  5                // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  6                // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  7 karl  1.27     // IBM Corp.; EMC Corporation, The Open Group.
  8 karl  1.32     // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  9                // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 10 karl  1.35     // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 11                // EMC Corporation; VERITAS Software Corporation; The Open Group.
 12 karl  1.39     // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 13                // EMC Corporation; Symantec Corporation; The Open Group.
 14 mike  1.11     //
 15                // Permission is hereby granted, free of charge, to any person obtaining a copy
 16 karl  1.12     // of this software and associated documentation files (the "Software"), to
 17                // deal in the Software without restriction, including without limitation the
 18                // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 19 mike  1.11     // sell copies of the Software, and to permit persons to whom the Software is
 20                // furnished to do so, subject to the following conditions:
 21 kumpf 1.19     // 
 22 karl  1.12     // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 23 mike  1.11     // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 24                // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 25 karl  1.12     // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 26                // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 27                // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 28 mike  1.11     // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 29                // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 30                //
 31                //==============================================================================
 32                //
 33                //%/////////////////////////////////////////////////////////////////////////////
 34 kumpf 1.48.2.2 */
 35 mike  1.11     
 36                #ifndef Pegasus_Version_h
 37                #define Pegasus_Version_h
 38                
 39                #include <Pegasus/Common/Config.h>
 40                
 41 kumpf 1.33     #ifdef PEGASUS_OVERRIDE_PRODUCT_ID
 42                # include <Pegasus/Common/ProductVersion.h>
 43                #else
 44 jim.wunderlich 1.42     //
 45                         // The Pegasus version string should be changed immediatly after a release
 46                         // to include the word development and should then be changed immediatly
 47                         // prior to release to remove it. Leaving the Version set to the prior release
 48                         // makes it difficult to determine a development version from a released
 49                         //  version that may be in use.
 50                         //
 51                         // The sequence would look like:
 52                         //  # define PEGASUS_PRODUCT_VERSION "2.5"
 53 kumpf          1.45     //  # define PEGASUS_PRODUCT_STATUS  ""       // Blank implies Released
 54 jim.wunderlich 1.42     //
 55                         //  # define PEGASUS_PRODUCT_VERSION "2.5.1"
 56                         //  # define PEGASUS_PRODUCT_STATUS  "Development"
 57                         //
 58                         //  # define PEGASUS_PRODUCT_VERSION "2.5.1"
 59                         //  # define PEGASUS_PRODUCT_STATUS  "Pre-Release"
 60                         //
 61                         //  # define PEGASUS_PRODUCT_VERSION "2.5.1"
 62 kumpf          1.45     //  # define PEGASUS_PRODUCT_STATUS  ""       // Blank implies Released
 63 jim.wunderlich 1.42     //
 64                         //  # define PEGASUS_PRODUCT_VERSION "2.5.2"
 65                         //  # define PEGASUS_PRODUCT_STATUS  "Development"
 66                         //
 67                         //  # define PEGASUS_PRODUCT_VERSION "2.5.2"
 68                         //  # define PEGASUS_PRODUCT_STATUS  "Pre-Release"
 69                         //
 70                         //  # define PEGASUS_PRODUCT_VERSION "2.5.2"
 71 kumpf          1.45     //  # define PEGASUS_PRODUCT_STATUS  ""       // Blank implies Released
 72                         //
 73 jim.wunderlich 1.42     
 74                         
 75 kumpf          1.33     # define PEGASUS_PRODUCT_NAME    "CIM Server"
 76 jim.wunderlich 1.42     
 77 kumpf          1.48.2.1 # define PEGASUS_PRODUCT_STATUS  "Development"
 78                         # define PEGASUS_PRODUCT_VERSION "2.7.1"
 79 jim.wunderlich 1.42     
 80 karl           1.37     # define PEGASUS_CIMOM_GENERIC_NAME "Pegasus"
 81                         // If the following is non-zero length it becomes SLP description.
 82                         # define PEGASUS_CIMOM_DESCRIPTION ""
 83 kumpf          1.18     #endif
 84                         
 85 kumpf          1.36     #ifdef PEGASUS_OS_HPUX
 86                         // Define the "what" string for binary files
 87                         
 88                         # ifndef PLATFORM_BUILD_DATE
 89                         #  define PLATFORM_BUILD_DATE __DATE__
 90                         # endif
 91                         
 92                         # ifndef PLATFORM_COMPONENT_NAME
 93                         #  define PLATFORM_COMPONENT_NAME  "Pegasus Component"
 94                         # endif
 95                         
 96 kumpf          1.45     # ifndef PLATFORM_COMPONENT_VERSION
 97                         #  define PLATFORM_COMPONENT_VERSION PEGASUS_PRODUCT_VERSION
 98 kumpf          1.36     # endif
 99                         
100                         # ifndef PLATFORM_COMPONENT_STATUS
101                         #  define PLATFORM_COMPONENT_STATUS PEGASUS_PRODUCT_STATUS
102                         # endif
103                         
104                         # ifndef COMPONENT_BUILD_DATE
105                         #  define COMPONENT_BUILD_DATE __DATE__
106                         # endif
107                         
108 mateus.baur    1.44     #ifdef PEGASUS_PLATFORM_HPUX_IA64_ACC
109                         #pragma VERSIONID \
110                             "@(#)" PEGASUS_PRODUCT_NAME " " PEGASUS_PRODUCT_VERSION " "\
111                                 PEGASUS_PRODUCT_STATUS "(" PLATFORM_BUILD_DATE ")" "\n@(#)"\
112                                 PEGASUS_PRODUCT_NAME "-" PLATFORM_COMPONENT_NAME " "\
113                                 PLATFORM_COMPONENT_VERSION " " PLATFORM_COMPONENT_STATUS "("\
114                                 COMPONENT_BUILD_DATE ")"
115                         #else
116 kumpf          1.36     static const char *PLATFORM_EMBEDDED_IDENTIFICATION_STRING =
117                             "@(#)" PEGASUS_PRODUCT_NAME " " PEGASUS_PRODUCT_VERSION " "
118                                 PEGASUS_PRODUCT_STATUS "(" PLATFORM_BUILD_DATE ")" "\n@(#)"
119                                 PEGASUS_PRODUCT_NAME "-" PLATFORM_COMPONENT_NAME " "
120                                 PLATFORM_COMPONENT_VERSION " " PLATFORM_COMPONENT_STATUS "("
121                                 COMPONENT_BUILD_DATE ")";
122 mateus.baur    1.44     #endif
123 kumpf          1.36     
124 mike           1.41     #endif /* PEGASUS_OS_HPUX */
125                         
126 kumpf          1.45     // This macro can be examined by preprocessor directives (i.e., #if) to
127                         // make compile time branch decisions based on the Pegasus version number.
128 mike           1.40     // When read from left to right, the bytes have the following meaning:
129                         //
130                         //     Byte 0: major version number
131                         //     Byte 1: minor version number
132                         //     Byte 2: revision
133                         //     Byte 3: reserved
134                         //
135                         // This macro appeared for the first time in version 2.5.1 (0x02050100).
136                         // Hence its absence indicates a version earlier than that. The following
137                         // tests for a Pegasus version of at least 2.5.1:
138                         //
139                         //   #if defined(PEGASUS_VERSION_NUMBER)
140                         //     ..
141                         //   #endif
142                         //
143                         // And this tests whether the version is greater than 2.5.2:
144                         //
145                         //    #if defined(PEGASUS_VERSION_NUMBER) && PEGASUS_VERSION_NUMBER > 0x02050200
146                         //      ..
147                         //    #endif
148                         //
149 kumpf          1.45     // CAUTION: always check whether PEGASUS_VERSION_NUMBER is defined when
150 mike           1.40     // integrating with versions prior to 2.5.1.
151                         //
152 kumpf          1.48.2.1 #define PEGASUS_VERSION_NUMBER 0x02070100
153 mike           1.40     
154 mike           1.11     #endif /* Pegasus_Version_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2