summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-08-30 20:59:12 +0200
committerTannin <devnull@localhost>2013-08-30 20:59:12 +0200
commit9c31cfa915f71adee8579aa97c12b64903ec9446 (patch)
tree63f1b92b8a596df17849f1c5d2ee7e911d879a61 /src/settings.h
parent91dd38cb292035b5ca23c531f0383bb283c8700e (diff)
- the download manager now registers download speed. Right now this is only used
to display an average speed on the settings menu - added a python27.dll compiled with vc100. This can now be bundled without introducing more dependencies - bugfix: extracting now stops after an error - bugfix: the way hook.dll caused CREATE_ALWAYS/CREATE_NEW to always write into overwrite could lead to the file being created when the call should have failed (because the file existed and was protected) - bugfix: GetPrivateProfileString does NOT properly report files as missing. This means that the ini-query optimization could optimize away requests that should work - bugfix: fomod installer couldn't display images because they were unpacked to the wrong temporary location - bugfix: When disabling local saves and choosing to delete the saves nothing happened - bugfix: the python plugin couldn't find the pyqt libraries
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index f1d29bd7..bf17d162 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -83,6 +83,13 @@ public:
bool forceEnableCoreFiles() const;
/**
+ * @brief register download speed
+ * @param url complete download url
+ * @param bytesPerSecond download size in bytes per second
+ */
+ void setDownloadSpeed(const QString &serverName, int bytesPerSecond);
+
+ /**
* the steam appid is assigned by the steam platform to each product sold there.
* The appid may differ between different versions of a game so it may be impossible
* for Mod Organizer to automatically recognize it, though usually it does