Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/wayland-protocols/protocol/annotation-protocol.c

Issue 2896943002: Add "stylus-tools" Wayland protocol. (Closed)
Patch Set: formatting Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /* Generated by wayland-scanner 1.12.90 */
2
3 /*
4 * Copyright 2017 The Chromium Authors.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice (including the next
14 * paragraph) shall be included in all copies or substantial portions of the
15 * Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
24 */
25
26 #include <stdlib.h>
27 #include <stdint.h>
28 #include "wayland-util.h"
29
30 extern const struct wl_interface wl_surface_interface;
31 extern const struct wl_interface zcr_annotation_features_v1_interface;
32
33 static const struct wl_interface *types[] = {
34 NULL,
35 &zcr_annotation_features_v1_interface,
36 &wl_surface_interface,
37 };
38
39 static const struct wl_message zcr_annotation_v1_requests[] = {
40 { "destroy", "", types + 0 },
41 { "get_annotation_features", "no", types + 1 },
42 };
43
44 WL_EXPORT const struct wl_interface zcr_annotation_v1_interface = {
45 "zcr_annotation_v1", 1,
46 2, zcr_annotation_v1_requests,
47 0, NULL,
48 };
49
50 static const struct wl_message zcr_annotation_features_v1_requests[] = {
51 { "destroy", "", types + 0 },
52 { "set_input_mode", "u", types + 0 },
53 };
54
55 WL_EXPORT const struct wl_interface zcr_annotation_features_v1_interface = {
56 "zcr_annotation_features_v1", 1,
57 2, zcr_annotation_features_v1_requests,
58 0, NULL,
59 };
60
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698