mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -07:00
Oracle / card xml improvements (#3934)
* fix #1610 * fix #2679; partially fix #3647 * Fix tests * Remove debug code
This commit is contained in:
parent
a135ad064a
commit
27b7ebe208
13 changed files with 131 additions and 10 deletions
|
|
@ -14,7 +14,11 @@ public:
|
|||
~CockatriceXml4Parser() override = default;
|
||||
bool getCanParseFile(const QString &name, QIODevice &device) override;
|
||||
void parseFile(QIODevice &device) override;
|
||||
bool saveToFile(SetNameMap sets, CardNameMap cards, const QString &fileName) override;
|
||||
bool saveToFile(SetNameMap sets,
|
||||
CardNameMap cards,
|
||||
const QString &fileName,
|
||||
const QString &sourceUrl = "unknown",
|
||||
const QString &sourceVersion = "unknown") override;
|
||||
|
||||
private:
|
||||
QVariantHash loadCardPropertiesFromXml(QXmlStreamReader &xml);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue