summaryrefslogtreecommitdiff
path: root/p2pvr/lib/siParsers/table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/lib/siParsers/table.cpp')
-rw-r--r--p2pvr/lib/siParsers/table.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/p2pvr/lib/siParsers/table.cpp b/p2pvr/lib/siParsers/table.cpp
index ea482b1..9844814 100644
--- a/p2pvr/lib/siParsers/table.cpp
+++ b/p2pvr/lib/siParsers/table.cpp
@@ -28,9 +28,16 @@ bool
SiTableParserBase::NewData(const P2PVR::Data & bytes, const Ice::Current&)
{
//Logger()->messagebf(LOG_DEBUG, "%s: Got %d bytes", __PRETTY_FUNCTION__, bytes.size());
+ currentRawData = &bytes;
return ParseInfoTable(&bytes.front(), bytes.size());
}
+const P2PVR::Data &
+SiTableParserBase::CurrentRawData() const
+{
+ return *currentRawData;
+}
+
SiTableParserBase::StrPtr
SiTableParserBase::convert(const char * txt, size_t len)
{