Commit 8ebd9817 authored by Pekka Paalanen's avatar Pekka Paalanen

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's avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent e04159b2
......@@ -42,7 +42,7 @@
#include <libweston/config-parser.h>
#include "shared/helpers.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_WORKSPACE_CHANGE_ANIMATION_LENGTH 200
......
subdir('libweston')
install_headers(
'libweston-desktop/libweston-desktop.h',
subdir: join_paths(dir_include_libweston, 'libweston-desktop')
)
......@@ -30,7 +30,7 @@
#include <libweston/libweston.h>
#include "ivi-layout-export.h"
#include "libweston-desktop/libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
struct ivi_layout_view {
struct wl_list link; /* ivi_layout::view_list */
......
......@@ -30,7 +30,7 @@
#include <stdint.h>
#include <libweston/libweston.h>
#include "libweston-desktop/libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
struct ivi_shell
{
......
......@@ -28,7 +28,7 @@
#include <libweston/libweston.h>
#include <libweston/zalloc.h>
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
struct weston_desktop_client {
......
......@@ -32,7 +32,7 @@
#include <libweston/zalloc.h>
#include "helpers.h"
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
......
......@@ -25,8 +25,6 @@ dep_lib_desktop = declare_dependency(
dependencies: dep_libweston
)
install_headers('libweston-desktop.h', subdir: dir_include_libweston)
pkgconfig.generate(
lib_desktop,
filebase: 'libweston-desktop-@0@'.format(libweston_major),
......
......@@ -33,7 +33,7 @@
#include <libweston/libweston.h>
#include <libweston/zalloc.h>
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
#include "shared/timespec-util.h"
......
......@@ -31,7 +31,7 @@
#include <libweston/libweston.h>
#include <libweston/zalloc.h>
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
struct weston_desktop_view {
......
......@@ -33,7 +33,7 @@
#include <libweston/libweston.h>
#include <libweston/zalloc.h>
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
#define WD_WL_SHELL_PROTOCOL_VERSION 1
......
......@@ -35,7 +35,7 @@
#include <libweston/zalloc.h>
#include "xdg-shell-unstable-v6-server-protocol.h"
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
#define WD_XDG_SHELL_PROTOCOL_VERSION 1
......
......@@ -35,7 +35,7 @@
#include <libweston/zalloc.h>
#include "xdg-shell-server-protocol.h"
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
/************************************************************************************
......
......@@ -33,7 +33,7 @@
#include <libweston/libweston.h>
#include <libweston/zalloc.h>
#include "libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
#include "internal.h"
#include "xwayland/xwayland-internal-interface.h"
......
......@@ -39,7 +39,7 @@
#include "compositor/weston.h"
#include <libweston/config-parser.h>
#include "shared/helpers.h"
#include "libweston-desktop/libweston-desktop.h"
#include <libweston-desktop/libweston-desktop.h>
struct desktest_shell {
struct wl_listener compositor_destroy_listener;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment