projects
/
qwerkisync
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass the current settings down to the parsers so they can behave accordingly (i.e...
[qwerkisync]
/
EventParsers
/
VMGEntities
/
VEnvelope.cpp
diff --git
a/EventParsers/VMGEntities/VEnvelope.cpp
b/EventParsers/VMGEntities/VEnvelope.cpp
index
54b8f41
..
aa8c10c
100644
(file)
--- a/
EventParsers/VMGEntities/VEnvelope.cpp
+++ b/
EventParsers/VMGEntities/VEnvelope.cpp
@@
-27,8
+27,8
@@
using namespace EventParsers::VMGEntities;
using namespace EventParsers::VMGEntities;
-VEnvelope::VEnvelope(const SMSEntity* parent) :
- SMSEntity(parent)
+VEnvelope::VEnvelope(const Settings &settings, const SMSEntity* parent) :
+ SMSEntity(settings, parent)
{
}
{
}
@@
-75,7
+75,7
@@
bool VEnvelope::Read(const QString &initialLine, QTextStream &stream, EventTypes
{
if(lineData.startsWith("BEGIN:"))
{
{
if(lineData.startsWith("BEGIN:"))
{
- iReader* reader = Factory::Instantiate(lineData, this);
+ iReader* reader = Factory::Instantiate(CurrentSettings(), lineData, this);
bool valid(NULL != reader && reader->Read(lineData, stream, event));
delete reader;
bool valid(NULL != reader && reader->Read(lineData, stream, event));
delete reader;