mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-10 05:23:37 -04:00
0fea79cc8f
Likely some new bugs were introduced by this change. The long term goal is clean compilation by g++.
47 lines
1.1 KiB
C
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
|