Addressing some compilation warnings:
[qwerkisync] / EventParsers / VMGEntities / VBody.cpp
index 346d97b..990e713 100644 (file)
@@ -35,15 +35,12 @@ VBody::VBody(const Settings &settings, const SMSEntity *parent) :
 {
 }
 
-//VBody::VBody(QTextStream& stream)
-//{
-//}
-
 VBody::~VBody()
 {
 }
 
-void VBody::Write(QTextStream &stream, const EventTypes::SMS &event)
+// Note: NametoNumberLookup is currently unused here.
+void VBody::Write(QTextStream &stream, const EventTypes::SMS &event, const NumberToNameLookup &)
 {
        stream << "BEGIN:" << getTagName() << endl;
 
@@ -217,7 +214,7 @@ bool VBody::Read(const QString &initialLine, QTextStream &stream, EventTypes::SM
 
        if(hasEnded)
        {
-               event.setContents(text);
+               event.Contents(text);
                //event.fld_storage_time
        }