diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:51:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:51:23 +0200 |
commit | 1692b3e82521e7d73a908f532eced90491e1eded (patch) | |
tree | c45272faba67485f3702395f43282a81a981cf5f /odb/mysql/connection-factory.hxx | |
parent | 4452be925b749572f0e3edcb21e9af818647eb55 (diff) |
Support for automake and VC++ builds
Diffstat (limited to 'odb/mysql/connection-factory.hxx')
-rw-r--r-- | odb/mysql/connection-factory.hxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/odb/mysql/connection-factory.hxx b/odb/mysql/connection-factory.hxx index 4d57d75..2cd4184 100644 --- a/odb/mysql/connection-factory.hxx +++ b/odb/mysql/connection-factory.hxx @@ -6,6 +6,8 @@ #ifndef ODB_MYSQL_CONNECTION_FACTORY_HXX #define ODB_MYSQL_CONNECTION_FACTORY_HXX +#include <odb/pre.hxx> + #include <vector> #include <cstddef> // std::size_t @@ -17,11 +19,13 @@ #include <odb/details/condition.hxx> #include <odb/details/shared-ptr.hxx> +#include <odb/mysql/details/export.hxx> + namespace odb { namespace mysql { - class connection_factory + class LIBODB_MYSQL_EXPORT connection_factory { public: virtual details::shared_ptr<connection> @@ -37,7 +41,7 @@ namespace odb ~connection_factory (); }; - class new_connection_factory: public connection_factory + class LIBODB_MYSQL_EXPORT new_connection_factory: public connection_factory { public: new_connection_factory () @@ -59,7 +63,8 @@ namespace odb database_type* db_; }; - class connection_pool_factory: public connection_factory + class LIBODB_MYSQL_EXPORT connection_pool_factory: + public connection_factory { public: // The max_connections argument specifies the maximum number of @@ -142,4 +147,6 @@ namespace odb } } +#include <odb/post.hxx> + #endif // ODB_MYSQL_CONNECTION_FACTORY_HXX |