Mercurial > dillo_port1.3
diff src/menu.hh @ 0:6ee11bf9e3ea
Initial revision
author | jcid |
---|---|
date | Sun, 07 Oct 2007 00:36:34 +0200 |
parents | |
children | 4a5942beffdf |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/menu.hh Sun Oct 07 00:36:34 2007 +0200 @@ -0,0 +1,34 @@ +#ifndef __MENU_HH__ +#define __MENU_HH__ + +#include "bw.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +void a_Menu_page_popup(BrowserWindow *bw, DilloUrl *url, const char *bugs_txt); +void a_Menu_link_popup(BrowserWindow *bw, DilloUrl *url); +void a_Menu_bugmeter_popup(BrowserWindow *bw, DilloUrl *url); +void a_Menu_history_popup(BrowserWindow *bw, int direction); + +//--------------------- +void a_Menu_popup_set_url(BrowserWindow *bw, const DilloUrl *url); +void a_Menu_popup_set_url2(BrowserWindow *bw, const DilloUrl *url); +void a_Menu_popup_clear_url2(void *menu_popup); + +DilloUrl *a_Menu_popup_get_url(BrowserWindow *bw); + +void a_Menu_pagemarks_new (BrowserWindow *bw); +void a_Menu_pagemarks_destroy (BrowserWindow *bw); +void a_Menu_pagemarks_add(BrowserWindow *bw, void *page, void *style, + int level); +void a_Menu_pagemarks_set_text(BrowserWindow *bw, const char *str); + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* MENU_HH */ +