finished up the curesforge export
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
377f27b16f
commit
049b02cee4
4 changed files with 42 additions and 30 deletions
|
@ -29,6 +29,7 @@ class FlamePackExportTask : public Task {
|
|||
public:
|
||||
FlamePackExportTask(const QString& name,
|
||||
const QString& version,
|
||||
const QString& author,
|
||||
const QVariant& projectID,
|
||||
InstancePtr instance,
|
||||
const QString& output,
|
||||
|
@ -39,13 +40,6 @@ class FlamePackExportTask : public Task {
|
|||
bool abort() override;
|
||||
|
||||
private:
|
||||
struct ResolvedFile {
|
||||
QVariant projectID, fileID;
|
||||
bool required;
|
||||
};
|
||||
|
||||
static const QStringList PREFIXES;
|
||||
static const QStringList FILE_EXTENSIONS;
|
||||
static const QString TEMPLATE;
|
||||
|
||||
// inputs
|
||||
|
@ -60,7 +54,7 @@ class FlamePackExportTask : public Task {
|
|||
typedef std::optional<QString> BuildZipResult;
|
||||
|
||||
QFileInfoList files;
|
||||
QMap<QString, ResolvedFile> resolvedFiles;
|
||||
QMap<QString, QString> resolvedFiles;
|
||||
Task::Ptr task;
|
||||
QFuture<BuildZipResult> buildZipFuture;
|
||||
QFutureWatcher<BuildZipResult> buildZipWatcher;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue