X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=EventParsers%2FVMGEntities%2FSMSEntity.h;fp=EventParsers%2FVMGEntities%2FSMSEntity.h;h=30fe6a8fdd8e4e3574e88ec64911007c3e367fae;hb=c0bfd6ab49e36b1f96a500fced976b9eef2aec4b;hp=9ed198aeca5e89929030dde1196e03f0fe62becd;hpb=ede40b26168c61bd22caae822aac44fd15da74bc;p=qwerkisync diff --git a/EventParsers/VMGEntities/SMSEntity.h b/EventParsers/VMGEntities/SMSEntity.h index 9ed198a..30fe6a8 100644 --- a/EventParsers/VMGEntities/SMSEntity.h +++ b/EventParsers/VMGEntities/SMSEntity.h @@ -31,16 +31,18 @@ namespace EventParsers class SMSEntity { public: - SMSEntity(const SMSEntity* parent); virtual ~SMSEntity() {}; + SMSEntity(const Settings &settings, const SMSEntity* parent); protected: const bool isAttachment() const; const SMSEntity* m_Parent; const SMSEntity* getParent() const { return m_Parent; }; + const Settings &CurrentSettings() const { return m_Settings; } virtual const char* getTagName() const { return "VBODY"; } + const Settings &m_Settings; }; } }