diff options
| author | Albert Cervin <albert@acervin.com> | 2024-05-22 00:00:29 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-09-12 20:17:56 +0200 |
| commit | 405da5f84b072ea97b69359454899f45d92d24b6 (patch) | |
| tree | 20525b4bc44a5d8cbab4d62abe8413e174731db6 /src/dged/window.h | |
| parent | 4ab7e453e26afc6e9f4938c65f89463fbba9e267 (diff) | |
| download | dged-405da5f84b072ea97b69359454899f45d92d24b6.tar.gz dged-405da5f84b072ea97b69359454899f45d92d24b6.tar.xz dged-405da5f84b072ea97b69359454899f45d92d24b6.zip | |
WIP LSP client
This contains the start of an LSP client.
Nothing (except starting the LSP server) works
at the moment and the feature is disabled by default.
Diffstat (limited to 'src/dged/window.h')
| -rw-r--r-- | src/dged/window.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dged/window.h b/src/dged/window.h index e1b1d25..7738e16 100644 --- a/src/dged/window.h +++ b/src/dged/window.h @@ -25,20 +25,20 @@ void windows_init(uint32_t height, uint32_t width, struct buffer *initial_buffer, struct buffer *minibuffer, struct buffers *buffers); -void windows_destroy(); +void windows_destroy(void); void windows_resize(uint32_t height, uint32_t width); void windows_update(void *(*frame_alloc)(size_t), float frame_time); void windows_render(struct display *display); -struct window *root_window(); -struct window *minibuffer_window(); -struct window *popup_window(); -bool popup_window_visible(); +struct window *root_window(void); +struct window *minibuffer_window(void); +struct window *popup_window(void); +bool popup_window_visible(void); void windows_set_active(struct window *window); struct window *windows_focus(uint32_t id); -struct window *windows_get_active(); -struct window *windows_focus_next(); +struct window *windows_get_active(void); +struct window *windows_focus_next(void); struct window *window_find_by_buffer(struct buffer *b); void window_set_buffer(struct window *window, struct buffer *buffer); @@ -63,6 +63,6 @@ void window_vsplit(struct window *window, struct window **new_window_a, void windows_show_popup(uint32_t row, uint32_t col, uint32_t width, uint32_t height); -void windows_close_popup(); +void windows_close_popup(void); #endif |
