// file : odb/tracer/transaction-impl.hxx // author : Boris Kolpackov // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_TRACER_TRANSACTION_IMPL_HXX #define ODB_TRACER_TRANSACTION_IMPL_HXX #include #include #include #include #include namespace odb { namespace tracer { class LIBODB_TRACER_EXPORT transaction_impl: public odb::transaction_impl { public: typedef tracer::database database_type; transaction_impl (database_type&); transaction_impl (connection_ptr); virtual ~transaction_impl (); virtual void start (); virtual void commit (); virtual void rollback (); private: bool finalized_; connection_ptr connection_; }; } } #include #endif // ODB_TRACER_TRANSACTION_IMPL_HXX