Expose ds_tbm_server as ABI 95/294095/1
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 21 Feb 2023 04:29:06 +0000 (13:29 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 13 Jun 2023 05:01:30 +0000 (14:01 +0900)
Change-Id: I19f37aaad954245ede523299f0c52a6a41390e17

include/libds-tizen/types/tbm_server.h [new file with mode: 0644]
packaging/libds-tizen.spec
src/tbm_server/tbm_server.h

diff --git a/include/libds-tizen/types/tbm_server.h b/include/libds-tizen/types/tbm_server.h
new file mode 100644 (file)
index 0000000..2f97929
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef LIBDS_TIZEN_TYPES_TBM_SERVER_H
+#define LIBDS_TIZEN_TYPES_TBM_SERVER_H
+
+#include <wayland-server.h>
+#include <wayland-tbm-server.h>
+
+struct ds_tbm_server
+{
+    struct wayland_tbm_server *wl_tbm;
+
+    struct wl_listener display_destroy;
+
+    struct {
+        struct wl_signal destroy;
+    } events;
+};
+
+#endif
index a4efb47..6311697 100644 (file)
@@ -471,6 +471,7 @@ ninja -C builddir install
 %defattr(-,root,root,-)
 %license LICENSE
 %{_includedir}/libds-tizen/tbm_server.h
+%{_includedir}/libds-tizen/types/tbm_server.h
 %{_libdir}/pkgconfig/libds-tizen-tbm-server.pc
 %{_libdir}/libds-tizen-tbm-server.so
 
index 58e391b..3ae00f3 100644 (file)
@@ -5,17 +5,7 @@
 #include <wayland-tbm-server.h>
 #include <tbm_surface.h>
 #include <libds/interfaces/buffer.h>
-
-struct ds_tbm_server
-{
-    struct wayland_tbm_server *wl_tbm;
-
-    struct wl_listener display_destroy;
-
-    struct {
-        struct wl_signal destroy;
-    } events;
-};
+#include <libds-tizen/types/tbm_server.h>
 
 struct ds_tbm_client_buffer
 {