20 #ifndef _WebBROWSER_H_
21 #define _WebBROWSER_H_
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 bool (*create)(WebBrowser*);
34 void (*set_html)(WebBrowser*,
const std::string&);
35 void (*navigate)(WebBrowser*,
const std::string&);
36 std::string (*get_document_title)(WebBrowser*);
51 void set_html(
const std::string &path);
54 void navigate(
const std::string &url);
57 std::string get_document_title();
60 void set_link_click_handler(
const boost::function<
bool (
const std::string &)> &slot);
67 boost::signals2::signal<void (const std::string&)>*
signal_loaded() {
return &_document_loaded; }
68 #ifndef DOXYGEN_SHOULD_SKIP_THIS
69 virtual void document_loaded(
const std::string& actualUrl);
73 bool on_link_clicked(
const std::string& uri);
83 #endif // #fndef _WebBROWSER_H_