2
Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
4
The MySQL Connector/C++ is licensed under the terms of the GPLv2
5
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
6
MySQL Connectors. There are special exceptions to the terms and
7
conditions of the GPLv2 as it is applied to this software, see the
8
FLOSS License Exception
9
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.
11
This program is free software; you can redistribute it and/or modify
12
it under the terms of the GNU General Public License as published
13
by the Free Software Foundation; version 2 of the License.
15
This program is distributed in the hope that it will be useful, but
16
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20
You should have received a copy of the GNU General Public License along
21
with this program; if not, write to the Free Software Foundation, Inc.,
22
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
#ifndef _MYSQL_NATIVE_DRIVER_WRAPPER_H_
28
#define _MYSQL_NATIVE_DRIVER_WRAPPER_H_
30
#include <boost/shared_ptr.hpp>
32
#include "native_driver_wrapper.h"
43
class MySQL_NativeDriverWrapper : public NativeDriverWrapper
45
boost::shared_ptr<IMySQLCAPI> api;
47
MySQL_NativeDriverWrapper(){}
50
MySQL_NativeDriverWrapper(const ::sql::SQLString & clientFileName);
51
~MySQL_NativeDriverWrapper();
53
NativeConnectionWrapper & conn_init();
64
#endif /* _MYSQL_NATIVE_DRIVER_WRAPPER_H_ */
71
* vim600: noet sw=4 ts=4 fdm=marker
72
* vim<600: noet sw=4 ts=4