23 #ifndef GNC_HTML_HISTORY_H 24 #define GNC_HTML_HISTORY_H 31 typedef void (* gnc_html_history_destroy_cb)(gnc_html_history_node * n,
46 gnc_html_history * gnc_html_history_new(
void) NOEXCEPT;
47 void gnc_html_history_destroy(gnc_html_history * hist) NOEXCEPT;
49 void gnc_html_history_append(gnc_html_history * h,
50 gnc_html_history_node * n) NOEXCEPT;
51 gnc_html_history_node * gnc_html_history_get_current(gnc_html_history * h) NOEXCEPT;
52 gnc_html_history_node * gnc_html_history_forward(gnc_html_history * h) NOEXCEPT;
53 gnc_html_history_node * gnc_html_history_back(gnc_html_history * h) NOEXCEPT;
54 int gnc_html_history_forward_p(gnc_html_history * h) NOEXCEPT;
55 int gnc_html_history_back_p(gnc_html_history * h) NOEXCEPT;
56 void gnc_html_history_set_node_destroy_cb(gnc_html_history * h,
57 gnc_html_history_destroy_cb cb,
58 gpointer cb_data) NOEXCEPT;
60 gnc_html_history_node * gnc_html_history_node_new(URLType type,
61 const gchar * location,
62 const gchar *label) NOEXCEPT;
64 void gnc_html_history_node_destroy(gnc_html_history_node *node) NOEXCEPT;
70 #endif // GNC_HTML_HISTORY_H