eitd: ifdef unused item/itemDescription, comment unused vps in SIevent

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1cc3219c89
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-29 (Tue, 29 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-05-29 13:12:35 +04:00
parent a79c108aa7
commit 9fadbf3041
4 changed files with 21 additions and 5 deletions

View File

@@ -334,6 +334,7 @@ void *insertEventsfromFile(void * data)
std::string(xmlGetAttribute(node, "string")));
node = node->xmlNextNode;
}
#ifdef USE_ITEM_DESCRIPTION
while (xmlGetNextOccurence(node, "item") != NULL) {
e.item = std::string(xmlGetAttribute(node, "string"));
node = node->xmlNextNode;
@@ -342,6 +343,7 @@ void *insertEventsfromFile(void * data)
e.itemDescription = std::string(xmlGetAttribute(node, "string"));
node = node->xmlNextNode;
}
#endif
while (xmlGetNextOccurence(node, "extended_text") != NULL) {
e.appendExtendedText( std::string(ZapitTools::UTF8_to_Latin1(xmlGetAttribute(node, "lang"))),
std::string(xmlGetAttribute(node, "string")));