summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 23:22:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 23:22:30 +0300
commit1d4cd150413526a998eb29e50c61ac8ef4d95f0e (patch)
treea80d1173982413da65202cc1218cb1813f96dfa9 /src/gui/windows/updaterwindow.h
parente6e139910e6773f68b8a2818a0529cd5ca37f31a (diff)
downloadplus-1d4cd150413526a998eb29e50c61ac8ef4d95f0e.tar.gz
plus-1d4cd150413526a998eb29e50c61ac8ef4d95f0e.tar.bz2
plus-1d4cd150413526a998eb29e50c61ac8ef4d95f0e.tar.xz
plus-1d4cd150413526a998eb29e50c61ac8ef4d95f0e.zip
add restrict into updaterwindow.
Diffstat (limited to 'src/gui/windows/updaterwindow.h')
-rw-r--r--src/gui/windows/updaterwindow.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/windows/updaterwindow.h b/src/gui/windows/updaterwindow.h
index 6003cf976..210b01bda 100644
--- a/src/gui/windows/updaterwindow.h
+++ b/src/gui/windows/updaterwindow.h
@@ -81,8 +81,8 @@ class UpdaterWindow final : public Window,
* @param applyUpdates If true, the update window will pass the updates to teh
* resource manager
*/
- UpdaterWindow(const std::string &updateHost,
- const std::string &updatesDir,
+ UpdaterWindow(const std::string &restrict updateHost,
+ const std::string &restrict updatesDir,
const bool applyUpdates, const int updateType);
A_DELETE_COPY(UpdaterWindow)
@@ -133,15 +133,15 @@ class UpdaterWindow final : public Window,
static void unloadUpdates(const std::string &dir);
static void addUpdateFile(const ResourceManager *const resman,
- const std::string &path,
- const std::string &fixPath,
- const std::string &file,
+ const std::string &restrict path,
+ const std::string &restrict fixPath,
+ const std::string &restrict file,
const bool append);
static void removeUpdateFile(const ResourceManager *const resman,
- const std::string &path,
- const std::string &fixPath,
- const std::string &file);
+ const std::string &restrict path,
+ const std::string &restrict fixPath,
+ const std::string &filerestrict );
static void loadManaPlusUpdates(const std::string &dir,
const ResourceManager *const resman);