implement "type" for xml node data

This commit is contained in:
itsmattkc
2022-04-25 13:16:27 -07:00
parent fe7444e762
commit fb53931f68
8 changed files with 25 additions and 18 deletions
+4 -4
View File
@@ -137,11 +137,11 @@ public:
static void Destroy();
static Result Load(Project *project, const QString &filename);
static Result Load(Project *project, QXmlStreamReader *read_device);
static Result Load(Project *project, const QString &filename, const QString &type);
static Result Load(Project *project, QXmlStreamReader *read_device, const QString &type);
static Result Save(const SaveData &data);
static Result Save(QXmlStreamWriter *write_device, const SaveData &data);
static Result Save(const SaveData &data, const QString &type);
static Result Save(QXmlStreamWriter *write_device, const SaveData &data, const QString &type);
protected:
virtual LoadData Load(Project *project, QXmlStreamReader *reader, void *reserved) const = 0;