23 #ifndef _PLUGINS_WEBVIEW_STATIC_PROCESSOR_H_
24 #define _PLUGINS_WEBVIEW_STATIC_PROCESSOR_H_
41 const std::string & base_url,
42 std::vector<std::string> &htdocs_dir,
43 const std::string & catchall_file,
44 const std::string & mime_file,
50 std::string find_file(
const std::string &filename);
51 void read_mime_database(
const std::string &mime_file);
52 const std::string &get_mime_type(
const std::string &file_name);
55 std::vector<std::string> htdocs_dirs_;
60 std::map<std::string, std::string> mime_types_;
62 std::string base_url_;
63 std::string catchall_file_;