tizen_launch : Add protocol to support depth-in 26/113926/3
authorparksanghee <sh15.park@samsung.com>
Wed, 8 Feb 2017 10:21:33 +0000 (19:21 +0900)
committerparksanghee <sh15.park@samsung.com>
Wed, 15 Feb 2017 07:40:29 +0000 (16:40 +0900)
[Model] Tizen3.0
[BinType] AP
[Customer] N/A

[Issue#] N/A
[Request] Support depth-in
[Occurrence Version] N/A

[Problem] Not support dpeth-in concept
[Cause & Measure] There is no interface to support concept
[Checking Method] Setting > Wifi

[Team] Window Manager
[Developer] Sanghee Park
[Solution company] Samsung
[Change Type] New feature

Change-Id: I62c6d63f43d00847fedb4e2784083d14890718d2

Makefile.am
protocol/tizen-launch.xml [new file with mode: 0644]

index 680f78e..11f0bc2 100644 (file)
@@ -191,3 +191,20 @@ libtizen_remote_surface_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
 libtizen_remote_surface_client_la_SOURCES = protocol/tizen-remote-surface-protocol.c
 libtizen_remote_surface_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
 libtizen_remote_surface_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
+
+### tizen-launch
+protocol_LTLIBRARIES += \
+        libtizen-launch-server.la \
+        libtizen-launch-client.la
+pkgconfig_DATA += \
+        src/tizen-launch-server.pc \
+        src/tizen-launch-client.pc
+protocolinclude_HEADERS += \
+        protocol/tizen-launch-server-protocol.h \
+        protocol/tizen-launch-client-protocol.h
+libtizen_launch_server_la_SOURCES = protocol/tizen-launch-protocol.c
+libtizen_launch_server_la_CFLAGS  = @WAYLAND_SERVER_CFLAGS@
+libtizen_launch_server_la_LIBADD  = @WAYLAND_SERVER_LIBS@
+libtizen_launch_client_la_SOURCES = protocol/tizen-launch-protocol.c
+libtizen_launch_client_la_CFLAGS  = @WAYLAND_CLIENT_CFLAGS@
+libtizen_launch_client_la_LIBADD  = @WAYLAND_CLIENT_LIBS@
diff --git a/protocol/tizen-launch.xml b/protocol/tizen-launch.xml
new file mode 100644 (file)
index 0000000..94f3394
--- /dev/null
@@ -0,0 +1,56 @@
+<protocol name="tizen_launch">
+  <interface name="tizen_launch_effect" version="1">
+    <request name="create_splash_img">
+      <arg name="id" type="new_id" interface="tizen_launch_splash" summary="new tizen_launch_splash object"/>
+    </request>
+
+    <request name="type_set">
+      <arg name="effect_type" type="string" allow-null="true"/>
+      <arg name="pid" type="uint" />
+      <arg name="options" type="array" allow-null="true" summary="array of options"/>
+    </request>
+
+    <request name="type_unset">
+      <arg name="pid" type="uint" />
+    </request>
+  </interface>
+
+  <interface name="tizen_launch_splash" version="1">
+    <!-- launch img -->
+    <enum name="file_type">
+      <entry name="img" value="0" summary="splash image file path"/>
+      <entry name="edj" value="1" summary="splash edj file path"/>
+    </enum>
+
+    <enum name="indicator">
+      <entry name="off" value="0" summary="splash hide indicator"/>
+      <entry name="on" value="1" summary="splash show indicator"/>
+    </enum>
+
+    <enum name="rotation">
+      <entry name="0" value="0" summary="rotation angle 0 degree"/>
+      <entry name="90" value="90" summary="rotation angle 90 degree"/>
+      <entry name="180" value="180" summary="rotation angle 180 degree"/>
+      <entry name="270" value="270" summary="rotation angle 270 degree"/>
+    </enum>
+
+    <request name="destroy" type="destructor"/>
+
+    <request name="launch">
+      <arg name="file" type="string"/>
+      <arg name="file_type" type="uint" />
+      <arg name="color_depth" type="uint" />
+      <arg name="rotation" type="uint" />
+      <arg name="indicator" type="uint" />
+      <arg name="effect_type" type="string" allow-null="true"/>
+      <arg name="theme_type" type="string" allow-null="true"/>
+      <arg name="options" type="array" allow-null="true" summary="array of options"/>
+    </request>
+
+    <request name="owner">
+      <arg name="pid" type="uint" />
+    </request>
+
+  </interface>
+
+</protocol>