diff options
Diffstat (limited to 'server/src/transaction.h')
| -rw-r--r-- | server/src/transaction.h | 12 | 
1 files changed, 11 insertions, 1 deletions
diff --git a/server/src/transaction.h b/server/src/transaction.h index 41559e0..d898ef7 100644 --- a/server/src/transaction.h +++ b/server/src/transaction.h @@ -30,30 +30,40 @@  #include <string>  #include <vector> +  class Request {  public:    std::string macro;  };  typedef std::vector< Request > Requests; +  class CommitValue {  public:    std::string name;    std::string value;  }; +typedef std::vector< CommitValue > CommitValues; +  class Commit {  public: -  std::vector< CommitValue > values; +  std::string user; +  std::string macro; +  std::string version; +  CommitValues values;  };  typedef std::vector< Commit > Commits; +  class Transaction {  public:    std::string cpr; +  std::string version;    Requests requests;    Commits commits;  }; +  #endif/*__PRACRO_TRANSACTION_H__*/  | 
