1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/src/bookmarks/dialogs.h

47 lines
1.1 KiB
C
Raw Normal View History

#ifndef EL__BOOKMARKS_DIALOGS_H
#define EL__BOOKMARKS_DIALOGS_H
#include "bfu/dialog.h"
#include "bfu/hierbox.h"
#include "terminal/terminal.h"
#include "session/session.h"
#ifdef __cplusplus
extern "C" {
#endif
extern struct hierbox_browser bookmark_browser;
/* Launch the bookmark manager */
void bookmark_manager(struct session *ses);
/* Launch 'Add bookmark' dialog... */
/* ...with the given title and URL */
void launch_bm_add_dialog(struct terminal *term,
struct dialog_data *parent,
struct session *ses,
char *title,
char *url);
/* ...with the current document's title and URL */
void launch_bm_add_doc_dialog(struct terminal *term,
struct dialog_data *parent,
struct session *ses);
/* ...with the selected link's title and URL */
void launch_bm_add_link_dialog(struct terminal *term,
struct dialog_data *parent,
struct session *ses);
void bookmark_terminal_tabs_dialog(struct terminal *term);
/* Free search memorization */
void free_last_searched_bookmark(void);
#ifdef __cplusplus
}
#endif
#endif