You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
519 B
19 lines
519 B
#ifndef _WLR_WAYLAND_INTERNAL_H
|
|
#define _WLR_WAYLAND_INTERNAL_H
|
|
|
|
#include <wayland-server.h>
|
|
#include <wlr/types.h>
|
|
#include <stdbool.h>
|
|
|
|
struct wlr_output_impl {
|
|
bool (*set_mode)(struct wlr_output_state *state, struct wlr_output_mode *mode);
|
|
void (*enable)(struct wlr_output_state *state, bool enable);
|
|
void (*destroy)(struct wlr_output_state *state);
|
|
};
|
|
|
|
struct wlr_output *wlr_output_create(struct wlr_output_impl *impl,
|
|
struct wlr_output_state *state);
|
|
void wlr_output_free(struct wlr_output *output);
|
|
|
|
#endif
|