1 /* GDK - The GIMP Drawing Kit 2 * Copyright (C) 2010 Red Hat, Inc. 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef __GDK_APP_LAUNCH_CONTEXT_PRIVATE_H__ 19 #define __GDK_APP_LAUNCH_CONTEXT_PRIVATE_H__ 20 21 #include <gio/gio.h> 22 #include "gdkapplaunchcontext.h" 23 #include "gdktypes.h" 24 25 G_BEGIN_DECLS 26 27 #define GDK_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass)) 28 #define GDK_IS_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDK_TYPE_APP_LAUNCH_CONTEXT)) 29 #define GDK_APP_LAUNCH_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_APP_LAUNCH_CONTEXT, GdkAppLaunchContextClass)) 30 31 32 typedef GAppLaunchContextClass GdkAppLaunchContextClass; 33 34 struct _GdkAppLaunchContext 35 { 36 GAppLaunchContext parent_instance; 37 38 GdkDisplay *display; 39 GdkScreen *screen; 40 gint workspace; 41 guint32 timestamp; 42 GIcon *icon; 43 char *icon_name; 44 }; 45 46 G_END_DECLS 47 48 #endif 49