tizen_clipboard: version up to 2 - add set_data_only and allowed_data_only 67/116667/3
authorMinJeong Kim <minjjj.kim@samsung.com>
Mon, 27 Feb 2017 10:44:44 +0000 (19:44 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Mon, 6 Mar 2017 04:24:51 +0000 (13:24 +0900)
Change-Id: I7cfe9e54dd199003d75de358b2d9336ad7734003
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
protocol/tizen-extension.xml

index 303d3b1165c684b7144399502a1c11752ef5077b..b895b12c8004132c11e829401725023fcf1a0f48 100755 (executable)
     </event>
   </interface>
 
-  <interface name="tizen_clipboard" version="1">
+  <interface name="tizen_clipboard" version="2">
      <description summary="an interface for requests and event about clipboard">
         This interface provides some requests and events about clipboard for other clients.
      </description>
       </description>
       <arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
      </event>
+
+     <!-- version 2 additions -->
+     <request name="set_data_only" since="2">
+        <description summary="request for setting data only mode for this wl_client">
+           A wayland client can notify of that the client is data only mode.
+           The data only mode means that this wayland client doesn't have any
+           wl_surfaces at all but it wants to use wl_data_device for some data
+           operations.
+        </description>
+        <arg name="set" type="uint" />
+     </request>
+
+     <event name="allowed_data_only" since="2">
+        <description summary="event to notify if data only set is allowed or not"/>
+        <arg name="allowed" type="uint" />
+     </event>
   </interface>
 
 </protocol>