Added parsing of CSV-formatted Symbian event logs
[qwerkisync] / DBBackends / iDBBackend.h
index 841bd94..5acafde 100644 (file)
@@ -23,15 +23,24 @@ namespace EventProcessors { class iEventProcessor; }
 namespace EventTypes { class RtcomEvent; class iEvent; }
 class NumberToNameLookup;
 
+template <typename T1> class QList;
+
 namespace DBBackends
 {
        class iDBBackend
        {
        public:
+               virtual ~iDBBackend() {}
                virtual void Insert(EventTypes::iEvent &event, const NumberToNameLookup &numberToNameLookup) =0;
+               virtual void PostInsert() =0;
+               virtual void ClearInsertedIDs() =0;
                //virtual uint Remove();
 
                virtual void Process(EventProcessors::iEventProcessor &eventProcessor) =0;
+
+       protected:
+               virtual const QList<int> &InsertedIDs() const =0;
+
        };
 }