diff options
Diffstat (limited to 'odb/tracer/database.hxx')
-rw-r--r-- | odb/tracer/database.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/odb/tracer/database.hxx b/odb/tracer/database.hxx new file mode 100644 index 0000000..983f866 --- /dev/null +++ b/odb/tracer/database.hxx @@ -0,0 +1,31 @@ +// file : odb/tracer/database.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_TRACER_DATABASE_HXX +#define ODB_TRACER_DATABASE_HXX + +#include <odb/database.hxx> +#include <odb/tracer/transaction-impl.hxx> + +namespace odb +{ + namespace tracer + { + class database: public odb::database + { + public: + virtual + ~database (); + + virtual transaction_impl* + begin_transaction (); + + virtual transaction_impl* + begin_transaction (session&); + }; + } +} + +#endif // ODB_TRACER_DATABASE_HXX |