Move tty and vt handling out in its own file

This commit is contained in:
Kristian Høgsberg 2011-01-14 14:59:13 -05:00
parent 96c8be98a6
commit e4762a6ac1
4 changed files with 174 additions and 131 deletions

View file

@ -19,7 +19,6 @@
#ifndef _WAYLAND_SYSTEM_COMPOSITOR_H_
#define _WAYLAND_SYSTEM_COMPOSITOR_H_
#include <termios.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <libudev.h>
@ -198,6 +197,12 @@ wayland_compositor_create(struct wl_display *display, int width, int height);
void
evdev_input_add_devices(struct wlsc_compositor *c, struct udev *udev);
struct tty *
tty_create(struct wlsc_compositor *compositor);
void
tty_destroy(struct tty *tty);
void
screenshooter_create(struct wlsc_compositor *ec);