2 * This file is part of GtkHotkey.
3 * Copyright Mikkel Kamstrup Erlandsen, March, 2008
5 * GtkHotkey is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GtkHotkey is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with GtkHotkey. If not, see <http://www.gnu.org/licenses/>.
19 #if !defined (__GTK_HOTKEY_H__) && !defined (GTK_HOTKEY_COMPILATION)
20 #error "Only <gtkhotkey.h> can be included directly."
23 #ifndef __GTK_HOTKEY_X11_LISTENER_H__
24 #define __GTK_HOTKEY_X11_LISTENER_H__
27 #include <glib-object.h>
28 #include "gtk-hotkey-listener.h"
29 #include "gtk-hotkey-info.h"
34 #define GTK_HOTKEY_TYPE_X11_LISTENER (gtk_hotkey_x11_listener_get_type ())
35 #define GTK_HOTKEY_X11_LISTENER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_HOTKEY_TYPE_X11_LISTENER, GtkHotkeyX11Listener))
36 #define GTK_HOTKEY_X11_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_HOTKEY_TYPE_X11_LISTENER, GtkHotkeyX11ListenerClass))
37 #define GTK_HOTKEY_IS_X11_LISTENER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_HOTKEY_TYPE_X11_LISTENER))
38 #define GTK_HOTKEY_IS_X11_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_HOTKEY_TYPE_X11_LISTENER))
39 #define GTK_HOTKEY_X11_LISTENER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_HOTKEY_TYPE_X11_LISTENER, GtkHotkeyX11ListenerClass))
41 typedef struct _GtkHotkeyX11Listener GtkHotkeyX11Listener
;
42 typedef struct _GtkHotkeyX11ListenerClass GtkHotkeyX11ListenerClass
;
43 typedef struct _GtkHotkeyX11ListenerPrivate GtkHotkeyX11ListenerPrivate
;
45 struct _GtkHotkeyX11Listener
{
46 GtkHotkeyListener parent
;
47 GtkHotkeyX11ListenerPrivate
* priv
;
49 struct _GtkHotkeyX11ListenerClass
{
50 GtkHotkeyListenerClass parent
;
53 GType
gtk_hotkey_x11_listener_get_type (void);