1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-21 00:25:37 +00:00
elinks/src/bookmarks/dialogs.h
Witold Filipczyk 0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00

47 lines
1.1 KiB
C

#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