Move libweston-desktop.h

This too is a public installed header.

The public headers are moved under a new top-level directory include/ to make
them clearly stand out as special (public API).

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-04-04 16:02:14 +03:00
parent e04159b238
commit 8ebd9817e7
15 changed files with 17 additions and 14 deletions

View File

@ -42,7 +42,7 @@
#include <libweston/config-parser.h> #include <libweston/config-parser.h>
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"
#include "libweston-desktop/libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#define DEFAULT_NUM_WORKSPACES 1 #define DEFAULT_NUM_WORKSPACES 1
#define DEFAULT_WORKSPACE_CHANGE_ANIMATION_LENGTH 200 #define DEFAULT_WORKSPACE_CHANGE_ANIMATION_LENGTH 200

View File

@ -1 +1,6 @@
subdir('libweston') subdir('libweston')
install_headers(
'libweston-desktop/libweston-desktop.h',
subdir: join_paths(dir_include_libweston, 'libweston-desktop')
)

View File

@ -30,7 +30,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "ivi-layout-export.h" #include "ivi-layout-export.h"
#include "libweston-desktop/libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
struct ivi_layout_view { struct ivi_layout_view {
struct wl_list link; /* ivi_layout::view_list */ struct wl_list link; /* ivi_layout::view_list */

View File

@ -30,7 +30,7 @@
#include <stdint.h> #include <stdint.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "libweston-desktop/libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
struct ivi_shell struct ivi_shell
{ {

View File

@ -28,7 +28,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
struct weston_desktop_client { struct weston_desktop_client {

View File

@ -32,7 +32,7 @@
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "helpers.h" #include "helpers.h"
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"

View File

@ -25,8 +25,6 @@ dep_lib_desktop = declare_dependency(
dependencies: dep_libweston dependencies: dep_libweston
) )
install_headers('libweston-desktop.h', subdir: dir_include_libweston)
pkgconfig.generate( pkgconfig.generate(
lib_desktop, lib_desktop,
filebase: 'libweston-desktop-@0@'.format(libweston_major), filebase: 'libweston-desktop-@0@'.format(libweston_major),

View File

@ -33,7 +33,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"

View File

@ -31,7 +31,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
struct weston_desktop_view { struct weston_desktop_view {

View File

@ -33,7 +33,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
#define WD_WL_SHELL_PROTOCOL_VERSION 1 #define WD_WL_SHELL_PROTOCOL_VERSION 1

View File

@ -35,7 +35,7 @@
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "xdg-shell-unstable-v6-server-protocol.h" #include "xdg-shell-unstable-v6-server-protocol.h"
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
#define WD_XDG_SHELL_PROTOCOL_VERSION 1 #define WD_XDG_SHELL_PROTOCOL_VERSION 1

View File

@ -35,7 +35,7 @@
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "xdg-shell-server-protocol.h" #include "xdg-shell-server-protocol.h"
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
/************************************************************************************ /************************************************************************************

View File

@ -33,7 +33,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/zalloc.h> #include <libweston/zalloc.h>
#include "libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
#include "internal.h" #include "internal.h"
#include "xwayland/xwayland-internal-interface.h" #include "xwayland/xwayland-internal-interface.h"

View File

@ -39,7 +39,7 @@
#include "compositor/weston.h" #include "compositor/weston.h"
#include <libweston/config-parser.h> #include <libweston/config-parser.h>
#include "shared/helpers.h" #include "shared/helpers.h"
#include "libweston-desktop/libweston-desktop.h" #include <libweston-desktop/libweston-desktop.h>
struct desktest_shell { struct desktest_shell {
struct wl_listener compositor_destroy_listener; struct wl_listener compositor_destroy_listener;