1 #ifndef XCOMPOSITEBUFFER_H
2 #define XCOMPOSITEBUFFER_H
4 #include "waylandobject.h"
5 #include "wayland_wrapper/wlcompositor.h"
7 #include <QtCore/QSize>
9 #include <QtCore/QTextStream>
10 #include <QtCore/QDataStream>
11 #include <QtCore/QMetaType>
12 #include <QtCore/QVariant>
13 #include <QtGui/QWidget>
17 class XCompositeBuffer : public Wayland::Object<struct wl_buffer>
20 XCompositeBuffer(Wayland::Compositor *compositor, Window window, const QSize &size, struct wl_visual *visual);
24 static struct wl_buffer_interface buffer_interface;
25 static void delete_resource(struct wl_resource *resource,
26 struct wl_client *client);
30 static void buffer_interface_destroy(struct wl_client *client,
31 struct wl_buffer *buffer);
34 #endif // XCOMPOSITORBUFFER_H