Blame registryd/event-source.h

Packit 8b6d7a
/*
Packit 8b6d7a
 * AT-SPI - Assistive Technology Service Provider Interface
Packit 8b6d7a
 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
Packit 8b6d7a
 *
Packit 8b6d7a
 * Copyright 2009  Nokia.
Packit 8b6d7a
 *
Packit 8b6d7a
 * This library is free software; you can redistribute it and/or
Packit 8b6d7a
 * modify it under the terms of the GNU Library General Public
Packit 8b6d7a
 * License as published by the Free Software Foundation; either
Packit 8b6d7a
 * version 2 of the License, or (at your option) any later version.
Packit 8b6d7a
 *
Packit 8b6d7a
 * This library is distributed in the hope that it will be useful,
Packit 8b6d7a
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 8b6d7a
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 8b6d7a
 * Library General Public License for more details.
Packit 8b6d7a
 *
Packit 8b6d7a
 * You should have received a copy of the GNU Library General Public
Packit 8b6d7a
 * License along with this library; if not, write to the
Packit 8b6d7a
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit 8b6d7a
 * Boston, MA 02111-1307, USA.
Packit 8b6d7a
 */
Packit 8b6d7a
Packit 8b6d7a
#ifndef SPI_EVENT_SOURCE_H_
Packit 8b6d7a
#define SPI_EVENT_SOURCE_H_
Packit 8b6d7a
Packit 8b6d7a
#include <X11/Xlib.h>
Packit 8b6d7a
Packit 8b6d7a
void spi_events_init (Display *display);
Packit 8b6d7a
void spi_events_uninit ();
Packit 8b6d7a
void spi_set_events (long event_mask);
Packit 8b6d7a
void spi_set_filter (void (*filter) (XEvent*, void*), void* data);
Packit 8b6d7a
Packit 8b6d7a
#endif /* SPI_EVENT_SOURCE_H_ */