diff options
author | randomdan <randomdan@localhost> | 2006-07-08 16:32:05 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2006-07-08 16:32:05 +0000 |
commit | 2a1fa15d8baa4eda37e17b2e9362f8bde17a939d (patch) | |
tree | 09386e52320b7c52a521ab56fc7553896e639dcd /libodbcpp/connection.h | |
download | libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.tar.bz2 libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.tar.xz libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.zip |
libcodbcpp initial release
Diffstat (limited to 'libodbcpp/connection.h')
-rw-r--r-- | libodbcpp/connection.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libodbcpp/connection.h b/libodbcpp/connection.h new file mode 100644 index 0000000..d5adb31 --- /dev/null +++ b/libodbcpp/connection.h @@ -0,0 +1,18 @@ +#ifndef CONNECTION_H +#define CONNECTION_H + +#include "dsn.h" +#include <sql.h> + +namespace ODBC { + class Connection : private DSN { + public: + Connection(const DSN& d); + ~Connection(); + SQLHENV env; + SQLHDBC conn; + }; +} + +#endif + |