mirror of https://github.com/cutefishos/core
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
3.3 KiB
XML
83 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<protocol name="wlr_data_control_unstable_v1">
|
|
<copyright>
|
|
Copyright © 2018 Simon Ser
|
|
Copyright © 2019 Ivan Molodetskikh
|
|
|
|
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, DIRECT, 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.
|
|
</copyright>
|
|
|
|
<interface name="zwlr_data_control_manager_v1" version="2">
|
|
<request name="create_data_source">
|
|
<arg name="id" type="new_id" interface="zwlr_data_control_source_v1"/>
|
|
</request>
|
|
<request name="get_data_device">
|
|
<arg name="id" type="new_id" interface="zwlr_data_control_device_v1"/>
|
|
<arg name="seat" type="object" interface="wl_seat"/>
|
|
</request>
|
|
<request name="destroy" type="destructor"/>
|
|
</interface>
|
|
|
|
<interface name="zwlr_data_control_device_v1" version="2">
|
|
<request name="set_selection">
|
|
<arg name="source" type="object" interface="zwlr_data_control_source_v1" allow-null="true"/>
|
|
</request>
|
|
<request name="destroy" type="destructor"/>
|
|
<event name="data_offer">
|
|
<arg name="id" type="new_id" interface="zwlr_data_control_offer_v1"/>
|
|
</event>
|
|
<event name="selection">
|
|
<arg name="id" type="object" interface="zwlr_data_control_offer_v1" allow-null="true"/>
|
|
</event>
|
|
<event name="finished"/>
|
|
<event name="primary_selection" since="2">
|
|
<arg name="id" type="object" interface="zwlr_data_control_offer_v1" allow-null="true"/>
|
|
</event>
|
|
<request name="set_primary_selection" since="2">
|
|
<arg name="source" type="object" interface="zwlr_data_control_source_v1" allow-null="true"/>
|
|
</request>
|
|
</interface>
|
|
|
|
<interface name="zwlr_data_control_source_v1" version="1">
|
|
<request name="offer">
|
|
<arg name="mime_type" type="string"/>
|
|
</request>
|
|
<request name="destroy" type="destructor"/>
|
|
<event name="send">
|
|
<arg name="mime_type" type="string"/>
|
|
<arg name="fd" type="fd"/>
|
|
</event>
|
|
<event name="cancelled"/>
|
|
</interface>
|
|
|
|
<interface name="zwlr_data_control_offer_v1" version="1">
|
|
<request name="receive">
|
|
<arg name="mime_type" type="string"/>
|
|
<arg name="fd" type="fd"/>
|
|
</request>
|
|
<request name="destroy" type="destructor"/>
|
|
<event name="offer">
|
|
<arg name="mime_type" type="string"/>
|
|
</event>
|
|
</interface>
|
|
</protocol>
|