/*
 * Copyright (c) 2022 Brian Tarricone <brian@tarricone.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301 USA
 */

#ifndef __XFW_WORKSPACE_MANAGER_WAYLAND_H__
#define __XFW_WORKSPACE_MANAGER_WAYLAND_H__

#if !defined(__LIBXFCE4WINDOWING_H_INSIDE__) && !defined(LIBXFCE4WINDOWING_COMPILATION)
#error "Only libxfce4windowing.h can be included directly"
#endif

#include <gdk/gdk.h>

#include "protocols/ext-workspace-v1-20230427-client.h"

#include "xfw-screen-wayland.h"
#include "xfw-workspace-manager.h"

G_BEGIN_DECLS

#define XFW_TYPE_WORKSPACE_MANAGER_WAYLAND (xfw_workspace_manager_wayland_get_type())
G_DECLARE_FINAL_TYPE(XfwWorkspaceManagerWayland, xfw_workspace_manager_wayland, XFW, WORKSPACE_MANAGER_WAYLAND, GObject)

typedef struct _XfwWorkspaceManagerWaylandPrivate XfwWorkspaceManagerWaylandPrivate;

struct _XfwWorkspaceManagerWayland {
    GObject parent;
    /*< private >*/
    XfwWorkspaceManagerWaylandPrivate *priv;
};

XfwWorkspaceManager *_xfw_workspace_manager_wayland_new(XfwScreenWayland *screen, struct ext_workspace_manager_v1 *manager);

G_END_DECLS

#endif /* __XFW_WORKSPACE_MANAGER_WAYLAND_H__ */
