diff options
author | deva <deva> | 2010-01-06 07:47:58 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-06 07:47:58 +0000 |
commit | 0e819eb42b4d680a99ae7b04702bfc9510495aee (patch) | |
tree | a425aeb98c679a0891a974b6f93090343d51a4e8 /server/src/transactionhandler.h | |
parent | 582913fc18937c87afe7d351e66095dccb435a9e (diff) |
New artefact connection class (to later wrap libartefact). New environment class to hold all global resources. Made ConnectionPool a template class. Split journal code up into two files (class from commit code).
Diffstat (limited to 'server/src/transactionhandler.h')
-rw-r--r-- | server/src/transactionhandler.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/server/src/transactionhandler.h b/server/src/transactionhandler.h index 9a2086a..ae1857c 100644 --- a/server/src/transactionhandler.h +++ b/server/src/transactionhandler.h @@ -28,13 +28,11 @@ #ifndef __PRACRO_TRANSACTIONHANDLER_H__ #define __PRACRO_TRANSACTIONHANDLER_H__ -#include "exception.h" #include "transaction.h" -#include "tcpsocket.h" -#include "database.h" -#include "journal_commit.h" -#include "macrolist.h" -#include "templatelist.h" +#include "session.h" +#include "environment.h" + +#include "exception.h" class NotFoundException : public Exception { public: @@ -42,11 +40,6 @@ public: : Exception("Macro " + r.macro + " not found in template " + r.templ) {} }; -std::string handleTransaction(Transaction *transaction, - TCPSocket &pentominos_socket, - Database &db, - JournalWriter &journalwriter, - MacroList ¯olist, - TemplateList &templatelist); +std::string handleTransaction(Transaction &transaction, Environment &env, Session &session); #endif/*__PRACRO_TRANSACTIONHANDLER_H__*/ |