// file : odb/tracer/transaction-impl.hxx // author : Boris Kolpackov // copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_TRACER_TRANSACTION_IMPL_HXX #define ODB_TRACER_TRANSACTION_IMPL_HXX #include #include #include namespace odb { namespace tracer { class database; class transaction; class LIBODB_TRACER_EXPORT transaction_impl: public odb::transaction_impl { protected: friend class database; friend class transaction; typedef tracer::database database_type; transaction_impl (database_type&); virtual ~transaction_impl (); virtual void commit (); virtual void rollback (); private: bool finalized_; }; } } #include #endif // ODB_TRACER_TRANSACTION_IMPL_HXX