2 * gdkdisplay-broadway.h
4 * Copyright 2001 Sun Microsystems Inc.
6 * Erwann Chenede <erwann.chenede@sun.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef __GDK_DISPLAY_BROADWAY__
25 #define __GDK_DISPLAY_BROADWAY__
27 #include <gdk/gdkdisplay.h>
28 #include <gdk/gdkkeys.h>
29 #include <gdk/gdkwindow.h>
30 #include <gdk/gdkinternals.h>
31 #include <gdk/gdkmain.h>
36 typedef struct _GdkDisplayBroadway GdkDisplayBroadway;
37 typedef struct _GdkDisplayBroadwayClass GdkDisplayBroadwayClass;
39 #define GDK_TYPE_DISPLAY_BROADWAY (_gdk_display_broadway_get_type())
40 #define GDK_DISPLAY_BROADWAY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY_BROADWAY, GdkDisplayBroadway))
41 #define GDK_DISPLAY_BROADWAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DISPLAY_BROADWAY, GdkDisplayBroadwayClass))
42 #define GDK_IS_DISPLAY_BROADWAY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY_BROADWAY))
43 #define GDK_IS_DISPLAY_BROADWAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DISPLAY_BROADWAY))
44 #define GDK_DISPLAY_BROADWAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DISPLAY_BROADWAY, GdkDisplayBroadwayClass))
46 typedef struct HttpRequest HttpRequest;
48 struct _GdkDisplayBroadway
50 GdkDisplay parent_instance;
51 GdkScreen *default_screen;
57 GSource *event_source;
58 GdkWindow *mouse_in_toplevel;
63 /* Keyboard related information */
66 /* drag and drop information */
67 GdkDragContext *current_dest_drag;
69 /* Mapping to/from virtual atoms */
71 GHashTable *atom_from_virtual;
72 GHashTable *atom_to_virtual;
75 /* input GdkDevice list */
78 /* Time of most recent user interaction. */
81 /* The offscreen window that has the pointer in it (if any) */
82 GdkWindow *active_offscreen_window;
84 GSocketService *service;
85 BroadwayOutput *output;
89 struct _GdkDisplayBroadwayClass
91 GdkDisplayClass parent_class;
94 GType _gdk_display_broadway_get_type (void);
98 #endif /* __GDK_DISPLAY_BROADWAY__ */