From 3a160a80c788d81e48acf19a2cf68f29cf125dae Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 25 Jan 2024 18:52:59 +0300 Subject: Turn libodb-mysql repository into package for muti-package repository --- libodb-mysql/odb/mysql/forward.hxx | 91 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 libodb-mysql/odb/mysql/forward.hxx (limited to 'libodb-mysql/odb/mysql/forward.hxx') diff --git a/libodb-mysql/odb/mysql/forward.hxx b/libodb-mysql/odb/mysql/forward.hxx new file mode 100644 index 0000000..243c94e --- /dev/null +++ b/libodb-mysql/odb/mysql/forward.hxx @@ -0,0 +1,91 @@ +// file : odb/mysql/forward.hxx +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_MYSQL_FORWARD_HXX +#define ODB_MYSQL_FORWARD_HXX + +#include + +#include + +namespace odb +{ + namespace mysql + { + namespace core + { + using namespace odb::common; + } + + // + // + class database; + class connection; + typedef details::shared_ptr connection_ptr; + class connection_factory; + class statement; + class transaction; + class tracer; + + namespace core + { + using mysql::database; + using mysql::connection; + using mysql::connection_ptr; + using mysql::transaction; + using mysql::statement; + } + + // Implementation details. + // + enum statement_kind + { + statement_select, + statement_insert, + statement_update, + statement_delete + }; + + class binding; + class select_statement; + + template + class object_statements; + + template + class polymorphic_root_object_statements; + + template + class polymorphic_derived_object_statements; + + template + class no_id_object_statements; + + template + class view_statements; + + template + class container_statements; + + template + class smart_container_statements; + + template + class section_statements; + + class query_base; + } + + namespace details + { + template <> + struct counter_type + { + typedef shared_base counter; + }; + } +} + +#include + +#endif // ODB_MYSQL_FORWARD_HXX -- cgit v1.1