X-Git-Url: http://git.maemo.org/git/?p=qwerkisync;a=blobdiff_plain;f=EventTypes%2FPhoneCall.h;fp=EventTypes%2FPhoneCall.h;h=8fea8804368d92787ade81ae3200c083e78ff6f4;hp=e8059274ad5bafcaf57dd4a36b6fb0dcf23afc80;hb=1672d85141d3ee1ac7f2996c122f3f9ed974b702;hpb=6e8e3d1a87a2b784abd818caeacb713f0cc2b582;ds=sidebyside diff --git a/EventTypes/PhoneCall.h b/EventTypes/PhoneCall.h index e805927..8fea880 100644 --- a/EventTypes/PhoneCall.h +++ b/EventTypes/PhoneCall.h @@ -40,7 +40,7 @@ namespace EventTypes virtual const DBBackends::iDBBackend &DB() const; PhoneCall(const Settings &settings); - PhoneCall(const Settings &settings, const Settings::eDirection destination, const QDateTime ×tamp, const QString &tel, int durationInSeconds, const AttachmentCollection &attachments = AttachmentCollection()); + PhoneCall(const Settings &settings, const Settings::eDirection destination, const QDateTime ×tamp, const QString &tel, const int durationInSeconds, const bool isMissedCall, const AttachmentCollection &attachments = AttachmentCollection()); ~PhoneCall(); virtual const uint HashCode() const; @@ -60,6 +60,9 @@ namespace EventTypes virtual const AttachmentCollection & Attachments() const { return m_Attachments; } virtual AttachmentCollection & Attachments() { return m_Attachments; } + const bool IsMissedCall() const { return m_IsMissedCall; } + 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()); @@ -74,6 +77,7 @@ namespace EventTypes QDateTime m_Timestamp; QString m_Tel; int m_DurationInSeconds; + bool m_IsMissedCall; AttachmentCollection m_Attachments; }; }