summaryrefslogtreecommitdiff
path: root/registryd/deviceeventcontroller.h
diff options
context:
space:
mode:
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2001-09-30 23:59:43 +0000
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2001-09-30 23:59:43 +0000
commitad6c1828a3c1d7bf67f23167a7e7aa8208f6f133 (patch)
tree9fe0a340f156d8d29883a07ef38ad39d10c216a7 /registryd/deviceeventcontroller.h
parent60ea797aa906619deaaf946e5e4bd8f548d9ad71 (diff)
downloadat-spi2-core-ad6c1828a3c1d7bf67f23167a7e7aa8208f6f133.tar.gz
Added initial implementations of DeviceEventController and KeystrokeListener.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@68 e2bd861d-eb25-0410-b326-f6ed22b6b98c
Diffstat (limited to 'registryd/deviceeventcontroller.h')
-rw-r--r--registryd/deviceeventcontroller.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/registryd/deviceeventcontroller.h b/registryd/deviceeventcontroller.h
new file mode 100644
index 00000000..60255da1
--- /dev/null
+++ b/registryd/deviceeventcontroller.h
@@ -0,0 +1,54 @@
+/*
+ * AT-SPI - Assistive Technology Service Provider Interface
+ * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
+ *
+ * Copyright 2001 Sun Microsystems Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef DEVICE_EVENT_CONTROLLER_H_
+#define DEVICE_EVENT_CONTROLLER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include <bonobo/bonobo-object.h>
+#include <libspi/Accessibility.h>
+
+#define DEVICE_EVENT_CONTROLLER_TYPE (device_event_controller_get_type ())
+#define DEVICE_EVENT_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DEVICE_EVENT_CONTROLLER_TYPE, DeviceEventController))
+#define DEVICE_EVENT_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DEVICE_EVENT_CONTROLLER_TYPE, DeviceEventControllerClass))
+#define IS_DEVICE_EVENT_CONTROLLER(o) (G_TYPE_CHECK__INSTANCE_TYPE ((o), DEVICE_EVENT_CONTROLLER_TYPE))
+#define IS_DEVICE_EVENT_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DEVICE_EVENT_CONTROLLER_TYPE))
+
+typedef struct {
+ BonoboObject parent;
+} DeviceEventController;
+
+typedef struct {
+ BonoboObjectClass parent_class;
+ POA_Accessibility_DeviceEventController__epv epv;
+} DeviceEventControllerClass;
+
+GType device_event_controller_get_type (void);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* DEVICEEVENTCONTROLLER_H_ */