view src/menu.hh @ 11:4a5942beffdf

Added some "const" qualifiers.
author jcid
date Sun, 14 Oct 2007 04:21:53 +0200
parents 6ee11bf9e3ea
children 571f09e42ab6
line wrap: on
line source
#ifndef __MENU_HH__
#define __MENU_HH__

#include "bw.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

void a_Menu_page_popup(BrowserWindow *bw, const DilloUrl *url,
                       const char *bugs_txt);
void a_Menu_link_popup(BrowserWindow *bw, const DilloUrl *url);
void a_Menu_bugmeter_popup(BrowserWindow *bw, const 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 */