Rename compositor.h to libweston/libweston.h

The main idea is to make libweston users use the form

 #include <libweston/libweston.h>

instead of the plain

 #include <compositor.h>

which is prone to name conflicts. This is reflected both in the installed
files, and the internal header search paths so that Weston would use the exact
same form as an external project using libweston would.

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-03-28 16:28:47 +02:00
parent a78cf77582
commit 3d5d9476e3
85 changed files with 83 additions and 83 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ extern "C" {
#include <limits.h>
#include "stdbool.h"
#include "compositor.h"
#include <libweston/libweston.h>
#include "plugin-registry.h"
#define IVI_SUCCEEDED (0)
+1 -1
View File
@@ -28,7 +28,7 @@
#include <stdint.h>
#include "compositor.h"
#include <libweston/libweston.h>
#include "ivi-layout-export.h"
#include "libweston-desktop/libweston-desktop.h"
+1 -1
View File
@@ -62,7 +62,7 @@
#include <stdint.h>
#include "compositor/weston.h"
#include "compositor.h"
#include <libweston/libweston.h>
#include "ivi-shell.h"
#include "ivi-layout-export.h"
#include "ivi-layout-private.h"
+1 -1
View File
@@ -29,7 +29,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "compositor.h"
#include <libweston/libweston.h>
#include "libweston-desktop/libweston-desktop.h"
struct ivi_shell