mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 01:06:16 +02:00
Fix pxml.cpp compile
This commit is contained in:
parent
745321edf9
commit
a107dd8e46
@ -1,6 +1,8 @@
|
|||||||
#include "pxml.h"
|
#include "pxml.h"
|
||||||
#include "tinyxml/tinyxml.h"
|
#include "tinyxml/tinyxml.h"
|
||||||
|
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
PXml::PXml(string file) {
|
PXml::PXml(string file) {
|
||||||
@ -8,7 +10,7 @@ PXml::PXml(string file) {
|
|||||||
error = title = description = authorName = authorWebsite = category = exec = icon = "";
|
error = title = description = authorName = authorWebsite = category = exec = icon = "";
|
||||||
version = osVersion = (SoftwareVersion){0,0,0,0};
|
version = osVersion = (SoftwareVersion){0,0,0,0};
|
||||||
|
|
||||||
TiXmlDocument doc(file);
|
TiXmlDocument doc(file.c_str());
|
||||||
if (doc.LoadFile()) {
|
if (doc.LoadFile()) {
|
||||||
TiXmlHandle hDoc(&doc);
|
TiXmlHandle hDoc(&doc);
|
||||||
TiXmlElement* pElem;
|
TiXmlElement* pElem;
|
||||||
|
Loading…
Reference in New Issue
Block a user