Last active
January 3, 2019 15:37
-
-
Save Hi-Angel/26bb379799a9882c233ed76445beee9b to your computer and use it in GitHub Desktop.
noop protocol client-header generated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated by wayland-scanner 1.16.0 */ | |
#ifndef PROTOCOL_NOOP_CLIENT_PROTOCOL_H | |
#define PROTOCOL_NOOP_CLIENT_PROTOCOL_H | |
#include <stdint.h> | |
#include <stddef.h> | |
#include "wayland-client.h" | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
/** | |
* @page page_protocol_noop The protocol_noop protocol | |
* @section page_ifaces_protocol_noop Interfaces | |
* - @subpage page_iface_interface_noop - | |
*/ | |
struct interface_noop; | |
/** | |
* @page page_iface_interface_noop interface_noop | |
* @section page_iface_interface_noop_api API | |
* See @ref iface_interface_noop. | |
*/ | |
/** | |
* @defgroup iface_interface_noop The interface_noop interface | |
*/ | |
extern const struct wl_interface interface_noop_interface; | |
#define INTERFACE_NOOP_METHOD_NOOP 0 | |
/** | |
* @ingroup iface_interface_noop | |
*/ | |
#define INTERFACE_NOOP_METHOD_NOOP_SINCE_VERSION 1 | |
/** @ingroup iface_interface_noop */ | |
static inline void | |
interface_noop_set_user_data(struct interface_noop *interface_noop, void *user_data) | |
{ | |
wl_proxy_set_user_data((struct wl_proxy *) interface_noop, user_data); | |
} | |
/** @ingroup iface_interface_noop */ | |
static inline void * | |
interface_noop_get_user_data(struct interface_noop *interface_noop) | |
{ | |
return wl_proxy_get_user_data((struct wl_proxy *) interface_noop); | |
} | |
static inline uint32_t | |
interface_noop_get_version(struct interface_noop *interface_noop) | |
{ | |
return wl_proxy_get_version((struct wl_proxy *) interface_noop); | |
} | |
/** @ingroup iface_interface_noop */ | |
static inline void | |
interface_noop_destroy(struct interface_noop *interface_noop) | |
{ | |
wl_proxy_destroy((struct wl_proxy *) interface_noop); | |
} | |
/** | |
* @ingroup iface_interface_noop | |
*/ | |
static inline void | |
interface_noop_method_noop(struct interface_noop *interface_noop) | |
{ | |
wl_proxy_marshal((struct wl_proxy *) interface_noop, | |
INTERFACE_NOOP_METHOD_NOOP); | |
} | |
#ifdef __cplusplus | |
} | |
#endif | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<protocol name="protocol_noop"> | |
<interface name="interface_noop" version="1"> | |
<request name="method_noop"> | |
</request> | |
</interface> | |
</protocol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment