1 /* gdkapplaunchcontext.h - Gtk+ implementation for GAppLaunchContext
3 Copyright (C) 2007 Red Hat, Inc.
5 The Gnome Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The Gnome Library 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 GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the Gnome Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
20 Author: Alexander Larsson <alexl@redhat.com>
23 #ifndef __GDK_APP_LAUNCH_CONTEXT_H__
24 #define __GDK_APP_LAUNCH_CONTEXT_H__
28 #include <gdk/gdkdisplay.h>
32 #define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ())
33 #define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContext))
34 #define GDK_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass))
35 #define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDGDK_TYPE_APP_LAUNCH_CONTEXT))
36 #define GDK_IS_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDK_TYPE_APP_LAUNCH_CONTEXT))
37 #define GDK_APP_LAUNCH_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass))
39 typedef struct GdkAppLaunchContext GdkAppLaunchContext;
40 typedef struct GdkAppLaunchContextClass GdkAppLaunchContextClass;
41 typedef struct GdkAppLaunchContextPrivate GdkAppLaunchContextPrivate;
43 struct GdkAppLaunchContext
45 GAppLaunchContext parent_instance;
47 GdkAppLaunchContextPrivate *priv;
50 struct GdkAppLaunchContextClass
52 GAppLaunchContextClass parent_class;
55 GType gdk_app_launch_context_get_type (void);
57 GdkAppLaunchContext *gdk_app_launch_context_new (void);
58 void gdk_app_launch_context_set_display (GdkAppLaunchContext *context,
60 void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context,
62 void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,
64 void gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context,
66 void gdk_app_launch_context_set_icon (GdkAppLaunchContext *context,
68 void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
69 const char *icon_name);
73 #endif /* __GDK_APP_LAUNCH_CONTEXT_H__ */