Added CSV parsing and export of Symbian-format Event logs that have had their tables...
authorJamie Thompson <jamie@.(none)>
Sun, 2 Oct 2011 23:23:27 +0000 (00:23 +0100)
committerJamie Thompson <jamie@.(none)>
Sun, 2 Oct 2011 23:23:27 +0000 (00:23 +0100)
commit43c287cf53b85a8a347ae12ce8d938b256357ce3
treeacb89eac01ad53e33608eddedb94e0b6ec22ba1b
parent1672d85141d3ee1ac7f2996c122f3f9ed974b702
Added CSV parsing and export of Symbian-format Event logs that have had their tables exported to CSV files.

The binary format of the DBU files is going to be a PITA to work with, so in the meantime, we have to make do with CSV representations of the tables.

Header rows are mandatory, but any text encoding supported by Qt should be fine. Newlines are supported in column values.

The import/export cycle is not identical. There is no way of:
1) Splitting the events into whatever criteria would be used by the original databses (they're capped so only the most recent 1000 or so events are stored).
2) Including data events. Symbian stores every use of any connection, including Wifi and GPRS. Maemo doesn't, because that would be stupid.
3) Continuing the arbitrary ID sequence to continue from wherever your phone currently is.
24 files changed:
CSV.cpp [new file with mode: 0644]
CSV.h [new file with mode: 0644]
EventFormats/SymbianEventLog.cpp [new file with mode: 0644]
EventFormats/SymbianEventLog.h [new file with mode: 0644]
EventParsers/CSVSymbianEventLogParser.cpp
EventParsers/CSVSymbianEventLogParser.h
EventParsers/MMSParser.cpp
EventParsers/VMGParser.cpp
EventProcessors/Writer.cpp
EventProcessors/Writer.h
EventTypes/PhoneCall.cpp
EventTypes/PhoneCall.h
EventTypes/SMS.cpp
EventTypes/SMS.h
EventTypes/iCSVSymbianEvent.h [new file with mode: 0644]
EventTypes/iEvent.h
EventTypes/iVMGEvent.h [new file with mode: 0644]
EventWriters/CSVSymbianEventLogWriter.cpp [new file with mode: 0644]
EventWriters/CSVSymbianEventLogWriter.h [new file with mode: 0644]
EventWriters/VMGWriter.cpp [new file with mode: 0644]
EventWriters/VMGWriter.h [new file with mode: 0644]
EventWriters/iEventWriter.h [new file with mode: 0644]
SyncerThread.cpp
qwerkisync.pro