mirror of https://github.com/kiwix/libkiwix.git
+ move splitString.[h|cpp] to stringTools.[h|cpp]
This commit is contained in:
parent
bc6d0afca8
commit
f48df4a960
|
@ -57,6 +57,34 @@ const char server_taskbar_html_part[]=
|
|||
"\x76\x3e\x0a"
|
||||
;
|
||||
|
||||
const char server_home_html_tmpl[]=
|
||||
"\x3c\x68\x74\x6d\x6c\x3e\x0a\x3c\x68\x65\x61\x64\x3e\x0a\x20\x20\x3c\x6d\x65\x74"
|
||||
"\x61\x20\x63\x68\x61\x72\x73\x65\x74\x3d\x22\x55\x54\x46\x2d\x38\x22\x20\x2f\x3e"
|
||||
"\x0a\x20\x20\x3c\x74\x69\x74\x6c\x65\x3e\x57\x65\x6c\x63\x6f\x6d\x65\x20\x74\x6f"
|
||||
"\x20\x4b\x69\x77\x69\x78\x20\x53\x65\x72\x76\x65\x72\x3c\x2f\x74\x69\x74\x6c\x65"
|
||||
"\x3e\x0a\x20\x20\x3c\x6c\x69\x6e\x6b\x20\x74\x79\x70\x65\x3d\x22\x74\x65\x78\x74"
|
||||
"\x2f\x63\x73\x73\x22\x20\x68\x72\x65\x66\x3d\x22\x2f\x73\x6b\x69\x6e\x2f\x6a\x71"
|
||||
"\x75\x65\x72\x79\x75\x69\x2f\x63\x73\x73\x2f\x73\x6d\x6f\x6f\x74\x68\x6e\x65\x73"
|
||||
"\x73\x2f\x6a\x71\x75\x65\x72\x79\x2d\x75\x69\x2e\x63\x75\x73\x74\x6f\x6d\x2e\x63"
|
||||
"\x73\x73\x22\x20\x72\x65\x6c\x3d\x22\x53\x74\x79\x6c\x65\x73\x68\x65\x65\x74\x22"
|
||||
"\x20\x2f\x3e\x0a\x20\x20\x3c\x73\x63\x72\x69\x70\x74\x20\x74\x79\x70\x65\x3d\x22"
|
||||
"\x74\x65\x78\x74\x2f\x6a\x61\x76\x61\x73\x63\x72\x69\x70\x74\x22\x20\x73\x72\x63"
|
||||
"\x3d\x22\x2f\x73\x6b\x69\x6e\x2f\x6a\x71\x75\x65\x72\x79\x75\x69\x2f\x6a\x73\x2f"
|
||||
"\x6a\x71\x75\x65\x72\x79\x2e\x6d\x69\x6e\x2e\x6a\x73\x22\x3e\x3c\x2f\x73\x63\x72"
|
||||
"\x69\x70\x74\x3e\x0a\x20\x20\x3c\x73\x63\x72\x69\x70\x74\x20\x74\x79\x70\x65\x3d"
|
||||
"\x22\x74\x65\x78\x74\x2f\x6a\x61\x76\x61\x73\x63\x72\x69\x70\x74\x22\x20\x73\x72"
|
||||
"\x63\x3d\x22\x2f\x73\x6b\x69\x6e\x2f\x6a\x71\x75\x65\x72\x79\x75\x69\x2f\x6a\x73"
|
||||
"\x2f\x6a\x71\x75\x65\x72\x79\x2d\x75\x69\x2e\x63\x75\x73\x74\x6f\x6d\x2e\x6d\x69"
|
||||
"\x6e\x2e\x6a\x73\x22\x3e\x3c\x2f\x73\x63\x72\x69\x70\x74\x3e\x0a\x3c\x73\x63\x72"
|
||||
"\x69\x70\x74\x3e\x0a\x24\x28\x66\x75\x6e\x63\x74\x69\x6f\x6e\x28\x29\x20\x7b\x0a"
|
||||
"\x24\x28\x20\x22\x23\x61\x63\x63\x6f\x72\x64\x69\x6f\x6e\x22\x20\x29\x2e\x61\x63"
|
||||
"\x63\x6f\x72\x64\x69\x6f\x6e\x28\x29\x3b\x0a\x7d\x29\x3b\x0a\x3c\x2f\x73\x63\x72"
|
||||
"\x69\x70\x74\x3e\x0a\x3c\x2f\x68\x65\x61\x64\x3e\x0a\x3c\x62\x6f\x64\x79\x3e\x0a"
|
||||
"\x0a\x3c\x64\x69\x76\x20\x69\x64\x3d\x22\x61\x63\x63\x6f\x72\x64\x69\x6f\x6e\x22"
|
||||
"\x3e\x0a\x20\x20\x5f\x5f\x42\x4f\x4f\x4b\x53\x5f\x5f\x0a\x3c\x2f\x64\x69\x76\x3e"
|
||||
"\x0a\x0a\x3c\x2f\x62\x6f\x64\x79\x3e\x0a\x3c\x2f\x68\x74\x6d\x6c\x3e\x0a"
|
||||
;
|
||||
|
||||
const char jqueryui_css_smoothness_jquery_ui_custom_css[]=
|
||||
"\x2f\x2a\x21\x0a\x20\x2a\x20\x6a\x51\x75\x65\x72\x79\x20\x55\x49\x20\x43\x53\x53"
|
||||
"\x20\x46\x72\x61\x6d\x65\x77\x6f\x72\x6b\x20\x31\x2e\x38\x2e\x31\x39\x0a\x20\x2a"
|
||||
|
@ -16945,6 +16973,7 @@ static std::map<std::string, const char*> createResourceMap() {
|
|||
std::map<std::string, const char*> m;
|
||||
m["server/taskbar.css"] = server_taskbar_css;
|
||||
m["server/taskbar.html.part"] = server_taskbar_html_part;
|
||||
m["server/home.html.tmpl"] = server_home_html_tmpl;
|
||||
m["jqueryui/css/smoothness/jquery-ui.custom.css"] = jqueryui_css_smoothness_jquery_ui_custom_css;
|
||||
m["jqueryui/js/jquery-ui.custom.min.js"] = jqueryui_js_jquery_ui_custom_min_js;
|
||||
m["jqueryui/js/jquery.min.js"] = jqueryui_js_jquery_min_js;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "splitString.h"
|
||||
#include "stringTools.h"
|
||||
|
||||
std::vector<std::string> split(const std::string & str,
|
||||
const std::string & delims=" *-")
|
Loading…
Reference in New Issue