Added pre and post procesing "event handlers" to the DB backends. Initially u
[qwerkisync] / DBBackends / AllBackends.h
index a83a8a0..c455c38 100644 (file)
@@ -27,16 +27,17 @@ class Settings;
 #include <QList>
 template <typename T1> class QSharedPointer;
 
+#include "iDBBackend.h"
+
 namespace DBBackends
 {
-       class iDBBackend;
-
        class AllBackends
        {
        public:
                AllBackends(const Settings &settings);
 
                void Process(EventProcessors::iEventProcessor &eventProcessor);
+               void PreInsert();
                void Insert(EventTypes::iEvent &event, const NumberToNameLookup &numberToNameLookup);
                void PostInsert();