2005-09-15 09:58:31 -04:00
|
|
|
#ifndef EL__DIALOGS_EDIT_H
|
|
|
|
#define EL__DIALOGS_EDIT_H
|
|
|
|
|
|
|
|
#include "bfu/dialog.h"
|
|
|
|
#include "session/session.h"
|
|
|
|
#include "terminal/terminal.h"
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
enum edit_dialog_type {
|
|
|
|
EDIT_DLG_SEARCH, /* search dialog */
|
|
|
|
EDIT_DLG_ADD /* edit/add dialog */
|
|
|
|
};
|
|
|
|
|
2021-01-02 10:20:27 -05:00
|
|
|
void do_edit_dialog(struct terminal *, int, char *,
|
|
|
|
const char *, const char *,
|
2005-09-15 09:58:31 -04:00
|
|
|
struct session *, struct dialog_data *,
|
|
|
|
done_handler_T *when_done,
|
|
|
|
void when_cancel(struct dialog *),
|
|
|
|
void *, enum edit_dialog_type);
|
|
|
|
|
2020-10-05 14:14:55 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2005-09-15 09:58:31 -04:00
|
|
|
#endif
|