// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause #ifndef RECIPE_H #define RECIPE_H #include #include #include #include namespace Tasking { class Group; template class Storage; } static const int s_sizeInterval = 10; static const int s_imageCount = 100; static const int s_maxSize = s_sizeInterval * s_imageCount; class QNetworkAccessManager; // TODO: Add an QObject with signal for feeding the images progressively. class ExternalData { public: QNetworkAccessManager *inputNam = nullptr; QUrl inputUrl; QMap outputImages; std::optional outputError; }; Tasking::Group recipe(const Tasking::Storage &externalStorage); #endif // RECIPE_H