[XML2SDB] Add support for DATA in Layers.

This commit is contained in:
Mark Jansen 2018-04-10 22:39:29 +02:00
parent 083c3d992b
commit 767fc4a6ad
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
2 changed files with 84 additions and 1 deletions

View file

@ -91,6 +91,22 @@ struct Flag
};
struct Data
{
Data() : Tagid(0), DataType(0), DWordData(0), QWordData(0) { ; }
bool fromXml(XMLHandle dbNode);
bool toSdb(PDB pdb, Database& db);
std::string Name;
TAGID Tagid;
DWORD DataType;
std::string StringData;
DWORD DWordData;
QWORD QWordData;
};
struct Layer
{
Layer() : Tagid(0) { ; }
@ -102,6 +118,7 @@ struct Layer
TAGID Tagid;
std::list<ShimRef> ShimRefs;
std::list<FlagRef> FlagRefs;
std::list<Data> Datas;
};
struct MatchingFile