Bug 770: Shorten lifetime of session.download_uri
[elinks/elinks-j605.git] / src / viewer / action.h
blob54977d42d7b57b76d5aafaed2ec7f987cc1a0035
1 #ifndef EL__VIEWER_ACTION_H
2 #define EL__VIEWER_ACTION_H
4 #include "config/kbdbind.h"
6 struct session;
8 enum frame_event_status {
9 /* The event was not handled */
10 FRAME_EVENT_IGNORED,
11 /* The event was handled, and the screen should be redrawn */
12 FRAME_EVENT_REFRESH,
13 /* The event was handled, and the screen should _not_ be redrawn */
14 FRAME_EVENT_OK,
15 /* The event was handled, and the current session was destroyed */
16 FRAME_EVENT_SESSION_DESTROYED,
19 enum frame_event_status do_action(struct session *ses,
20 enum main_action action_id, int verbose);
22 #endif