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

This commit is contained in:
[CST] Focus
2012-05-29 13:12:35 +04:00
parent ba5047f5aa
commit 1cc3219c89
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")));