diff --git a/src/idownloadmanager.h b/src/idownloadmanager.h index cb596f9..96ca03d 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 startDownloadNexusFile(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