summaryrefslogtreecommitdiff
path: root/server/src/transaction.h
diff options
context:
space:
mode:
authordeva <deva>2007-09-03 14:51:37 +0000
committerdeva <deva>2007-09-03 14:51:37 +0000
commit20c7a5d63dc1f68fcf0e1aa053a4b725235e6f78 (patch)
tree43fb3b46f1e7bfbf2e3a098535365fbcd4154d23 /server/src/transaction.h
parent41e5a068b0b595be86797fd12035dabb87c21f36 (diff)
Added some XML parsing => DOM (pracro, requests and commits).
Diffstat (limited to 'server/src/transaction.h')
-rw-r--r--server/src/transaction.h12
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__*/