summaryrefslogtreecommitdiffstats
path: root/wsd/FileServer.hpp
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-02-10 17:03:31 -0400
committerHenry Castro <hcastro@collabora.com>2019-03-05 20:56:46 -0400
commit306b12b9bc2e0808751ea24282be792839d9ca40 (patch)
treef369235317067330dfd6a05c8838fb1516227b2b /wsd/FileServer.hpp
parentwsd: add boost::locale generation and caching (diff)
downloadonline-306b12b9bc2e0808751ea24282be792839d9ca40.tar.gz
online-306b12b9bc2e0808751ea24282be792839d9ca40.zip
wsd: preprocess javascript file for L10n
Change-Id: Ib802beca673e1e90ad5dd9c33cd5191300ae7bf8
Diffstat (limited to 'wsd/FileServer.hpp')
-rw-r--r--wsd/FileServer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wsd/FileServer.hpp b/wsd/FileServer.hpp
index c5a5133cd3..df33ca2174 100644
--- a/wsd/FileServer.hpp
+++ b/wsd/FileServer.hpp
@@ -22,6 +22,7 @@ class FileServerRequestHandler
static void getToken(std::istringstream&, std::string&);
static void parse(const std::locale&, std::istringstream&, std::ostringstream&, const std::function<bool(const std::string&)>&);
+ static void preprocessJS(const Poco::Net::HTTPRequest& request, const std::shared_ptr<StreamSocket>& socket);
static void preprocessFile(const Poco::Net::HTTPRequest& request, Poco::MemoryInputStream& message, const std::shared_ptr<StreamSocket>& socket);
static void preprocessAdminFile(const Poco::Net::HTTPRequest& request, const std::shared_ptr<StreamSocket>& socket);
public: