From eef022894e7d6f1f371da432722a733b98fd8709 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Jun 2010 16:36:21 +0200 Subject: Initial implementation --- odb/tracer/database.hxx | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 odb/tracer/database.hxx (limited to 'odb/tracer/database.hxx') 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 +// 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 +#include + +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 -- cgit v1.1