// This file was generated by qtwaylandscanner
// source file is /usr/share/plasma-wayland-protocols/slide.xml

#ifndef QT_WAYLAND_SLIDE
#define QT_WAYLAND_SLIDE

#include "wayland-slide-client-protocol.h"
#include <QByteArray>
#include <QString>

struct wl_registry;

QT_BEGIN_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Wmissing-field-initializers")

namespace QtWayland {
    class  org_kde_kwin_slide_manager
    {
    public:
        org_kde_kwin_slide_manager(struct ::wl_registry *registry, int id, int version);
        org_kde_kwin_slide_manager(struct ::org_kde_kwin_slide_manager *object);
        org_kde_kwin_slide_manager();

        virtual ~org_kde_kwin_slide_manager();

        void init(struct ::wl_registry *registry, int id, int version);
        void init(struct ::org_kde_kwin_slide_manager *object);

        struct ::org_kde_kwin_slide_manager *object() { return m_org_kde_kwin_slide_manager; }
        const struct ::org_kde_kwin_slide_manager *object() const { return m_org_kde_kwin_slide_manager; }
        static org_kde_kwin_slide_manager *fromObject(struct ::org_kde_kwin_slide_manager *object);

        bool isInitialized() const;

        static const struct ::wl_interface *interface();

        struct ::org_kde_kwin_slide *create(struct ::wl_surface *surface);
        void unset(struct ::wl_surface *surface);

    private:
        struct ::org_kde_kwin_slide_manager *m_org_kde_kwin_slide_manager;
    };

    class  org_kde_kwin_slide
    {
    public:
        org_kde_kwin_slide(struct ::wl_registry *registry, int id, int version);
        org_kde_kwin_slide(struct ::org_kde_kwin_slide *object);
        org_kde_kwin_slide();

        virtual ~org_kde_kwin_slide();

        void init(struct ::wl_registry *registry, int id, int version);
        void init(struct ::org_kde_kwin_slide *object);

        struct ::org_kde_kwin_slide *object() { return m_org_kde_kwin_slide; }
        const struct ::org_kde_kwin_slide *object() const { return m_org_kde_kwin_slide; }
        static org_kde_kwin_slide *fromObject(struct ::org_kde_kwin_slide *object);

        bool isInitialized() const;

        static const struct ::wl_interface *interface();

        enum location {
            location_left = 0,
            location_top = 1,
            location_right = 2,
            location_bottom = 3,
        };

        void commit();
        void set_location(uint32_t location);
        void set_offset(int32_t offset);
        void release();

    private:
        struct ::org_kde_kwin_slide *m_org_kde_kwin_slide;
    };
}

QT_WARNING_POP
QT_END_NAMESPACE

#endif
