From 7225c69c5bf2de13d32d6e9a658779405c8e2707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 Nov 2015 21:25:27 +0300 Subject: Add strong typed bool enum Append. --- src/resources/resourcemanager.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/resources/resourcemanager.h') diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index c7c2cffe1..13d05f0b2 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -23,6 +23,8 @@ #ifndef RESOURCES_RESOURCEMANAGER_H #define RESOURCES_RESOURCEMANAGER_H +#include "enums/simpletypes/append.h" + #include "utils/stringvector.h" #include @@ -78,7 +80,8 @@ class ResourceManager final * * @return true on success, false otherwise. */ - bool addToSearchPath(const std::string &path, const bool append) const; + bool addToSearchPath(const std::string &path, + const Append append) const; /** * Remove a directory or archive from the search path. @@ -92,7 +95,7 @@ class ResourceManager final */ void searchAndAddArchives(const std::string &restrict path, const std::string &restrict ext, - const bool append) const; + const Append append) const; /** * Searches for zip files and remove them from the search path. -- cgit v1.2.3-70-g09d2