1 #ifndef EL__VIEWER_ACTION_H
2 #define EL__VIEWER_ACTION_H
4 #include "config/kbdbind.h"
8 enum frame_event_status
{
9 /* The event was not handled */
11 /* The event was handled, and the screen should be redrawn */
13 /* The event was handled, and the screen should _not_ be redrawn */
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
);