summaryrefslogtreecommitdiffstats
path: root/minui/include/private
diff options
context:
space:
mode:
Diffstat (limited to 'minui/include/private')
-rw-r--r--minui/include/private/resources.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/minui/include/private/resources.h b/minui/include/private/resources.h
index 2a83a1028..047ebe2e3 100644
--- a/minui/include/private/resources.h
+++ b/minui/include/private/resources.h
@@ -82,3 +82,6 @@ class PngHandler {
// After initialization, we'll keep the file pointer open before destruction of PngHandler.
std::unique_ptr<FILE, decltype(&fclose)> png_fp_{ nullptr, fclose };
};
+
+// Overrides the default resource dir, for testing purpose.
+void res_set_resource_dir(const std::string&);