diff options
Diffstat (limited to 'odb/statement.hxx')
-rw-r--r-- | odb/statement.hxx | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/odb/statement.hxx b/odb/statement.hxx new file mode 100644 index 0000000..ca6df5a --- /dev/null +++ b/odb/statement.hxx @@ -0,0 +1,38 @@ +// file : odb/statement.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_STATEMENT_HXX +#define ODB_STATEMENT_HXX + +#include <odb/pre.hxx> + +#include <odb/forward.hxx> + +#include <odb/details/export.hxx> +#include <odb/details/shared-ptr.hxx> + +namespace odb +{ + class LIBODB_EXPORT statement: public details::shared_base + { + public: + virtual + ~statement () = 0; + + statement () {} + + private: + statement (const statement&); + statement& operator= (const statement&); + + public: + virtual const char* + text () const = 0; + }; +} + +#include <odb/post.hxx> + +#endif // ODB_MYSQL_STATEMENT_HXX |