From 1502e502eed24cde95e34da5bdc3182b4933af0d Mon Sep 17 00:00:00 2001 From: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> Date: Tue, 31 Dec 2024 19:34:52 +0100 Subject: [PATCH] Add startDownloadNexusFileForGame --- src/idownloadmanager.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/idownloadmanager.h b/src/idownloadmanager.h index cb596f97..f22dd0e3 100644 --- a/src/idownloadmanager.h +++ b/src/idownloadmanager.h @@ -34,6 +34,16 @@ class QDLLEXPORT IDownloadManager : public QObject */ virtual int startDownloadNexusFile(int modID, int fileID) = 0; + /** + * @brief download a file from www.nexusmods.com/. + * @param gameName 'short' name of the game the mod is for + * @param modID id of the mod for which to download a file + * @param fileID id of the file to download + * @return an id by which the download will be identified + */ + virtual int startDownloadNexusFileForGame(const QString& gameName, int modID, + int fileID) = 0; + /** * @brief get the (absolute) file path of the specified download. * @param id id of the download as returned by the download... functions