1/* 2** Copyright 2011-2013 Centreon 3** 4** Licensed under the Apache License, Version 2.0 (the "License"); 5** you may not use this file except in compliance with the License. 6** You may obtain a copy of the License at 7** 8** http://www.apache.org/licenses/LICENSE-2.0 9** 10** Unless required by applicable law or agreed to in writing, software 11** distributed under the License is distributed on an "AS IS" BASIS, 12** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13** See the License for the specific language governing permissions and 14** limitations under the License. 15** 16** For more information : contact@centreon.com 17*/ 18 19#ifndef CC_CLIB_VERSION_HH 20# define CC_CLIB_VERSION_HH 21 22// Compile-time values. 23# define CENTREON_CLIB_VERSION_MAJOR @CLIB_MAJOR@ 24# define CENTREON_CLIB_VERSION_MINOR @CLIB_MINOR@ 25# define CENTREON_CLIB_VERSION_PATCH @CLIB_PATCH@ 26# define CENTREON_CLIB_VERSION_STRING "@CLIB_VERSION@" 27 28# include "com/centreon/namespace.hh" 29 30CC_BEGIN() 31 32namespace clib { 33 namespace version { 34 // Compile-time values. 35 unsigned int const major = @CLIB_MAJOR@; 36 unsigned int const minor = @CLIB_MINOR@; 37 unsigned int const patch = @CLIB_PATCH@; 38 char const* const string = "@CLIB_VERSION@"; 39 40 // Run-time values. 41 unsigned int get_major() throw (); 42 unsigned int get_minor() throw (); 43 unsigned int get_patch() throw (); 44 char const* get_string() throw (); 45 } 46} 47 48CC_END() 49 50#endif // !CC_HANDLE_HH 51