Renamed ShaderPackMetadata to ShaderPack

This commit is contained in:
Digital Artifex
2026-08-11 22:28:30 -04:00
parent 836a77c11f
commit d80c1ccd18
4 changed files with 72 additions and 48 deletions
+27 -4
View File
@@ -16,7 +16,7 @@
#include "common/komplex_global.h"
#include "common/shadertoymetadata.h"
#include "common/shaderpackmetadata.h"
#include "common/shaderpack.h"
#include "packcompiler.h"
class KOMPLEX_EXPORT DownloadManager : public QObject
@@ -46,11 +46,34 @@ public:
/**
* @brief downloadImage
* Downloads the image to tmp from the given url
* Downloads the image to tmp from the given url and generates a pack
* out of it
* @param url
*/
auto downloadImage(const QString &author, const QString &authorId, const QString &description, const QUrl &url) noexcept(false) -> void;
auto downloadVideo(const QString &author, const QString &authorId, const QString &description, const QUrl &url) noexcept(false) -> void;
auto downloadImage
(
const QString &author,
const QString &authorId,
const QString &description,
const QUrl &url
) noexcept(false) -> void;
/**
* @brief downloadVideo
* Downloads the video to tmp from the given url and generates a pack
* out of it
* @param author
* @param authorId
* @param description
* @param url
*/
auto downloadVideo
(
const QString &author,
const QString &authorId,
const QString &description,
const QUrl &url
) noexcept(false) -> void;
/**
* @brief downloadPack