wlmaker
Loading...
Searching...
No Matches
action.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMAKER_ACTION_H__
21#define __WLMAKER_ACTION_H__
22
23#include "server.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif // __cplusplus
28
30typedef enum {
31 WLMAKER_ACTION_NONE,
32
33 WLMAKER_ACTION_QUIT,
34 WLMAKER_ACTION_LOCK_SCREEN,
35 WLMAKER_ACTION_LOCK_INHIBIT_BEGIN,
36 WLMAKER_ACTION_LOCK_INHIBIT_END,
37 WLMAKER_ACTION_LAUNCH_TERMINAL,
38
39 WLMAKER_ACTION_WORKSPACE_TO_PREVIOUS,
40 WLMAKER_ACTION_WORKSPACE_TO_NEXT,
41
42 WLMAKER_ACTION_TASK_TO_PREVIOUS,
43 WLMAKER_ACTION_TASK_TO_NEXT,
44
45 WLMAKER_ACTION_WINDOW_RAISE,
46 WLMAKER_ACTION_WINDOW_LOWER,
47 WLMAKER_ACTION_WINDOW_TOGGLE_FULLSCREEN,
48 WLMAKER_ACTION_WINDOW_TOGGLE_MAXIMIZED,
49
50 // Note: Keep these numbered consecutively.
51 WLMAKER_ACTION_SWITCH_TO_VT1,
52 WLMAKER_ACTION_SWITCH_TO_VT2,
53 WLMAKER_ACTION_SWITCH_TO_VT3,
54 WLMAKER_ACTION_SWITCH_TO_VT4,
55 WLMAKER_ACTION_SWITCH_TO_VT5,
56 WLMAKER_ACTION_SWITCH_TO_VT6,
57 WLMAKER_ACTION_SWITCH_TO_VT7,
58 WLMAKER_ACTION_SWITCH_TO_VT8,
59 WLMAKER_ACTION_SWITCH_TO_VT9,
60 WLMAKER_ACTION_SWITCH_TO_VT10,
61 WLMAKER_ACTION_SWITCH_TO_VT11,
62 WLMAKER_ACTION_SWITCH_TO_VT12,
64
65extern const char *wlmaker_action_config_dict_key;
66
68
71
82 wlmcfg_dict_t *keybindings_dict_ptr);
83
90
99 wlmaker_action_t action);
100
102extern const bs_test_case_t wlmaker_action_test_cases[];
103
104#ifdef __cplusplus
105} // extern "C"
106#endif // __cplusplus
107
108#endif /* __ACTION_H__ */
109/* == End of action.h ====================================================== */
wlmaker_action_t
Definition action.h:30
const bs_test_case_t wlmaker_action_test_cases[]
Definition action.c:447
void wlmaker_action_unbind_keys(wlmaker_action_handle_t *handle_ptr)
Definition action.c:153
const char * wlmaker_action_config_dict_key
Definition action.c:78
const wlmcfg_enum_desc_t wlmaker_action_desc[]
Definition action.c:94
void wlmaker_action_execute(wlmaker_server_t *server_ptr, wlmaker_action_t action)
Definition action.c:170
wlmaker_action_handle_t * wlmaker_action_bind_keys(wlmaker_server_t *server_ptr, wlmcfg_dict_t *keybindings_dict_ptr)
Definition action.c:132
Definition action.c:38
wlmaker_server_t * server_ptr
Definition action.c:42
Definition server.h:89
Definition model.c:46
Definition decode.h:41