00001 // 00002 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, Rafal Bobrowski 00003 // Distributed under the Boost Software License, Version 1.0. 00004 // (See accompanying file LICENSE_1_0.txt or copy at 00005 // http://www.boost.org/LICENSE_1_0.txt) 00006 // 00007 00008 #define SOCI_FIREBIRD_SOURCE 00009 #include "soci-firebird.h" 00010 00011 using namespace soci; 00012 00013 firebird_session_backend * firebird_backend_factory::make_session( 00014 std::string const &connectString) const 00015 { 00016 return new firebird_session_backend(connectString); 00017 } 00018 00019 firebird_backend_factory const soci::firebird; 00020 00021 extern "C" 00022 { 00023 00024 // for dynamic backend loading 00025 SOCI_FIREBIRD_DECL backend_factory const * factory_firebird() 00026 { 00027 00028 return &soci::firebird; 00029 } 00030 00031 } // extern "C"
Generated on Sun Oct 3 2010 17:42:16 for EXTRAS-SOCI by Doxygen 1.7.1