SAGA Adaptor CPI v.1.0
|
00001 // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) 00002 // Copyright (c) 2005-2009 Hartmut Kaiser 00003 // 00004 // Use, modification and distribution is subject to the Boost Software 00005 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 00006 // http://www.boost.org/LICENSE_1_0.txt) 00007 00008 #include <boost/preprocessor/stringize.hpp> 00009 #include <saga/saga/version.hpp> 00010 00012 namespace saga 00013 { 00014 // Returns the version of the SAGA engine 00015 unsigned long get_engine_version (void) 00016 { 00017 return SAGA_VERSION_FULL; 00018 } 00019 00020 // Returns the implemented SAGA API version 00021 unsigned long get_saga_version (void) 00022 { 00023 return SAGA_VERSION_API; 00024 } 00025 00026 #if !defined(BOOST_WINDOWS) 00027 char const SAGA_CHECK_VERSION[] = BOOST_PP_STRINGIZE(SAGA_CHECK_VERSION); 00028 #else 00029 char const* SAGA_CHECK_VERSION() 00030 { 00031 return BOOST_PP_STRINGIZE(SAGA_CHECK_VERSION); 00032 } 00033 #endif 00034 00036 } // namespace saga 00037