From 561c58de198e4e56d5c82f4d85ba40bbf263a8df Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 5 Oct 2015 08:48:22 -0500 Subject: Use unified LoadFileToBuffer function Create a single function for loading xml files to a memory buffer to reduce code duplication. Change-Id: I0ff64463072118f61a2eb8052f74019715020253 --- gui/pages.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/pages.hpp') diff --git a/gui/pages.hpp b/gui/pages.hpp index 81112f979..03fb0e5de 100644 --- a/gui/pages.hpp +++ b/gui/pages.hpp @@ -123,6 +123,7 @@ class PageManager { public: // Used by GUI + static char* LoadFileToBuffer(std::string filename, ZipArchive* package); static int LoadPackage(std::string name, std::string package, std::string startpage); static PageSet* SelectPackage(std::string name); static int ReloadPackage(std::string name, std::string package); -- cgit v1.2.3