X-Git-Url: http://git.maemo.org/git/?p=qwerkisync;a=blobdiff_plain;f=EventTypes%2FPhoneCall.h;h=415fb7f519cf1a3790a475b1c2cd8160c703cd62;hp=8fea8804368d92787ade81ae3200c083e78ff6f4;hb=43c287cf53b85a8a347ae12ce8d938b256357ce3;hpb=1672d85141d3ee1ac7f2996c122f3f9ed974b702 diff --git a/EventTypes/PhoneCall.h b/EventTypes/PhoneCall.h index 8fea880..415fb7f 100644 --- a/EventTypes/PhoneCall.h +++ b/EventTypes/PhoneCall.h @@ -26,6 +26,7 @@ #include #include +#include "EventTypes/iCSVSymbianEvent.h" #include "RtcomEvent.h" #include "AttachmentCollection.h" @@ -34,7 +35,7 @@ class Settings; namespace EventTypes { - class PhoneCall : public RtcomEvent + class PhoneCall : public RtcomEvent, public EventTypes::iCSVSymbianEvent { public: virtual const DBBackends::iDBBackend &DB() const; @@ -64,10 +65,12 @@ namespace EventTypes void IsMissedCall(const bool isMissedCall) { m_IsMissedCall = isMissedCall; } public: - virtual void Export(const QString &baseDirectory, const NumberToNameLookup &numberToNameLookup) const; PhoneCall(const Settings &settings, const RTComElEvent& event, const QList attachments = QList()); virtual RTComElEvent * toRTComEvent(const NumberToNameLookup &numberToNameLookup) const; + public: + virtual void WriteCSVSymbian(QTextStream &stream, const ColumnIndicesByIndexHash &headerIndices, const QChar delimiter, const NumberToNameLookup &numberToNameLookup, SymbianEventLogStrings &strings) const; + protected: const Settings &CurrentSettings() const { return m_Settings; }