diff options
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/util.h b/include/util.h index 19d2e7cf..56ca2eb8 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -7,15 +7,6 @@ | |||
7 | #include <wlr/types/wlr_output_layout.h> | 7 | #include <wlr/types/wlr_output_layout.h> |
8 | #include <xkbcommon/xkbcommon.h> | 8 | #include <xkbcommon/xkbcommon.h> |
9 | 9 | ||
10 | enum movement_direction { | ||
11 | MOVE_LEFT, | ||
12 | MOVE_RIGHT, | ||
13 | MOVE_UP, | ||
14 | MOVE_DOWN, | ||
15 | MOVE_PARENT, | ||
16 | MOVE_CHILD, | ||
17 | }; | ||
18 | |||
19 | /** | 10 | /** |
20 | * Wrap i into the range [0, max[ | 11 | * Wrap i into the range [0, max[ |
21 | */ | 12 | */ |
@@ -68,15 +59,4 @@ uint32_t parse_color(const char *color); | |||
68 | */ | 59 | */ |
69 | bool parse_boolean(const char *boolean, bool current); | 60 | bool parse_boolean(const char *boolean, bool current); |
70 | 61 | ||
71 | /** | ||
72 | * Given a path string, recurseively resolves any symlinks to their targets | ||
73 | * (which may be a file, directory) and returns the result. | ||
74 | * argument is returned. Caller must free the returned buffer. | ||
75 | * If an error occures, if the path does not exist or if the path corresponds | ||
76 | * to a dangling symlink, NULL is returned. | ||
77 | */ | ||
78 | char* resolve_path(const char* path); | ||
79 | |||
80 | bool sway_dir_to_wlr(enum movement_direction dir, enum wlr_direction *out); | ||
81 | |||
82 | #endif | 62 | #endif |