projects
/
qwerkisync
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added parsing of CSV-formatted Symbian event logs
[qwerkisync]
/
DBBackends
/
iDBBackend.h
diff --git
a/DBBackends/iDBBackend.h
b/DBBackends/iDBBackend.h
index
841bd94
..
5acafde
100644
(file)
--- a/
DBBackends/iDBBackend.h
+++ b/
DBBackends/iDBBackend.h
@@
-23,15
+23,24
@@
namespace EventProcessors { class iEventProcessor; }
namespace EventTypes { class RtcomEvent; class iEvent; }
class NumberToNameLookup;
namespace EventTypes { class RtcomEvent; class iEvent; }
class NumberToNameLookup;
+template <typename T1> class QList;
+
namespace DBBackends
{
class iDBBackend
{
public:
namespace DBBackends
{
class iDBBackend
{
public:
+ virtual ~iDBBackend() {}
virtual void Insert(EventTypes::iEvent &event, const NumberToNameLookup &numberToNameLookup) =0;
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;
//virtual uint Remove();
virtual void Process(EventProcessors::iEventProcessor &eventProcessor) =0;
+
+ protected:
+ virtual const QList<int> &InsertedIDs() const =0;
+
};
}
};
}