mirror of
https://github.com/ProjectDreamland/area51.git
synced 2024-11-01 11:11:47 +01:00
29 lines
597 B
C++
29 lines
597 B
C++
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// transaction_data.hpp
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef transaction_data_HPP
|
|
#define transaction_data_HPP
|
|
|
|
#include "stdafx.h"
|
|
|
|
class transaction_data
|
|
{
|
|
public:
|
|
|
|
enum TRANSACTION_STATE {
|
|
TRANSACTION_OLD_STATE,
|
|
TRANSACTION_NEW_STATE
|
|
};
|
|
|
|
transaction_data() {};
|
|
~transaction_data() {};
|
|
|
|
virtual xbool Commit()=0;
|
|
virtual xbool Rollback()=0;
|
|
};
|
|
|
|
#endif//transaction_data_HPP
|
|
|