/* Generated by wayland-scanner 1.23.0 */

#ifndef DDE_GLOBALPROPERTY_SERVER_PROTOCOL_H
#define DDE_GLOBALPROPERTY_SERVER_PROTOCOL_H

#include <stdint.h>
#include <stddef.h>
#include "wayland-server.h"

#ifdef  __cplusplus
extern "C" {
#endif

struct wl_client;
struct wl_resource;

/**
 * @page page_dde_globalproperty The dde_globalproperty protocol
 * @section page_ifaces_dde_globalproperty Interfaces
 * - @subpage page_iface_dde_globalproperty - dde global property interface
 * @section page_copyright_dde_globalproperty Copyright
 * <pre>
 *
 * Copyright © 2022  diguoliang <diguoliang@uniontech.com>
 *
 * Permission to use, copy, modify, distribute, and sell this
 * software and its documentation for any purpose is hereby granted
 * without fee, provided that the above copyright notice appear in
 * all copies and that both that copyright notice and this permission
 * notice appear in supporting documentation, and that the name of
 * the copyright holders not be used in advertising or publicity
 * pertaining to distribution of the software without specific,
 * written prior permission.  The copyright holders make no
 * representations about the suitability of this software for any
 * purpose.  It is provided "as is" without express or implied
 * warranty.
 *
 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
 * THIS SOFTWARE.
 * </pre>
 */
struct dde_globalproperty;
struct wl_surface;

#ifndef DDE_GLOBALPROPERTY_INTERFACE
#define DDE_GLOBALPROPERTY_INTERFACE
/**
 * @page page_iface_dde_globalproperty dde_globalproperty
 * @section page_iface_dde_globalproperty_desc Description
 *
 *
 * @section page_iface_dde_globalproperty_api API
 * See @ref iface_dde_globalproperty.
 */
/**
 * @defgroup iface_dde_globalproperty The dde_globalproperty interface
 *
 *
 */
extern const struct wl_interface dde_globalproperty_interface;
#endif

/**
 * @ingroup iface_dde_globalproperty
 * @struct dde_globalproperty_interface
 */
struct dde_globalproperty_interface {
	/**
	 * set global property data
	 *
	 * 
	 * @param module 
	 * @param function 
	 * @param type 
	 * @param data 
	 */
	void (*set_property)(struct wl_client *client,
			     struct wl_resource *resource,
			     const char *module,
			     const char *function,
			     struct wl_resource *surface,
			     int32_t type,
			     const char *data);
	/**
	 * get global property data
	 *
	 * 
	 * @param data 
	 */
	void (*get_property)(struct wl_client *client,
			     struct wl_resource *resource,
			     const char *data);
};


/**
 * @ingroup iface_dde_globalproperty
 */
#define DDE_GLOBALPROPERTY_SET_PROPERTY_SINCE_VERSION 1
/**
 * @ingroup iface_dde_globalproperty
 */
#define DDE_GLOBALPROPERTY_GET_PROPERTY_SINCE_VERSION 1

#ifdef  __cplusplus
}
#endif

#endif
