x11: get PRIMARY clipboard atom
[vd_agent.git] / vdagentd-uinput.h
blob132986b4f5ff20c84be8d9d3fdf406b0d9652659
1 /* vdagentd-uinput.c vdagentd uinput handling header
3 Copyright 2010 Red Hat, Inc.
5 Red Hat Authors:
6 Hans de Goede <hdegoede@redhat.com>
7 Gerd Hoffmann <kraxel@redhat.com>
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __VDAGENTD_UINPUT_H
23 #define __VDAGENTD_UINPUT_H
25 #include <stdio.h>
27 struct vdagentd_uinput;
29 struct vdagentd_uinput *vdagentd_uinput_create(const char *devname,
30 int width, int height, FILE *errfile, int verbose);
31 void vdagentd_uinput_destroy(struct vdagentd_uinput **uinputp);
33 void vdagentd_uinput_do_mouse(struct vdagentd_uinput **uinputp,
34 VDAgentMouseState *mouse);
35 void vdagentd_uinput_update_size(struct vdagentd_uinput **uinputp,
36 int width, int height);
38 #endif