diff options
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__*/ | 
