2017-09-23 10:26:01 +02:00
|
|
|
#ifndef WLR_BACKEND_MULTI_H
|
|
|
|
#define WLR_BACKEND_MULTI_H
|
2017-06-13 04:22:40 +02:00
|
|
|
|
|
|
|
#include <wlr/backend.h>
|
2017-07-11 09:18:34 +02:00
|
|
|
#include <wlr/backend/session.h>
|
2017-06-13 04:22:40 +02:00
|
|
|
|
2017-12-20 00:25:46 +01:00
|
|
|
struct wlr_backend *wlr_multi_backend_create(struct wl_display *display);
|
|
|
|
|
2017-06-13 04:22:40 +02:00
|
|
|
void wlr_multi_backend_add(struct wlr_backend *multi,
|
2017-12-19 18:28:47 +01:00
|
|
|
struct wlr_backend *backend);
|
2017-06-13 04:22:40 +02:00
|
|
|
|
2017-12-20 00:49:00 +01:00
|
|
|
void wlr_multi_backend_remove(struct wlr_backend *multi,
|
|
|
|
struct wlr_backend *backend);
|
|
|
|
|
2017-08-06 05:08:35 +02:00
|
|
|
bool wlr_backend_is_multi(struct wlr_backend *backend);
|
|
|
|
|
2017-08-06 03:37:49 +02:00
|
|
|
struct wlr_session *wlr_multi_get_session(struct wlr_backend *base);
|
|
|
|
|
2017-12-20 11:51:23 +01:00
|
|
|
bool wlr_multi_is_empty(struct wlr_backend *backend);
|
|
|
|
|
2017-06-13 04:22:40 +02:00
|
|
|
#endif
|