2005-09-15 09:58:31 -04:00
|
|
|
#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"
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
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,
|
2021-01-02 10:20:27 -05:00
|
|
|
char *title,
|
|
|
|
char *url);
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
/* ...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);
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
#endif
|