1 /* $Id$ */ 2 /*- 3 * Copyright (c) 2003-2006 Benedikt Meurer <benny@xfce.org> 4 * All rights reserved. 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Library General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Library General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free 18 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * Boston, MA 02110-1301 USA 20 */ 21 22 #if !defined(LIBXFCE4UTIL_INSIDE_LIBXFCE4UTIL_H) && !defined(LIBXFCE4UTIL_COMPILATION) 23 #error "Only <libxfce4util/libxfce4util.h> can be included directly, this file may disappear or change contents" 24 #endif 25 26 #ifndef __XFCE_KIOSK_H__ 27 #define __XFCE_KIOSK_H__ 28 29 #include <glib.h> 30 #include <glib-object.h> 31 32 G_BEGIN_DECLS 33 34 #define XFCE_TYPE_KIOSK xfce_kiosk_get_type () 35 G_DECLARE_FINAL_TYPE (XfceKiosk, xfce_kiosk, XFCE, KIOSK, GObject) 36 37 XfceKiosk *xfce_kiosk_new (const gchar *module) G_GNUC_MALLOC; 38 gboolean xfce_kiosk_query (const XfceKiosk *kiosk, 39 const gchar *capability); 40 void xfce_kiosk_free (XfceKiosk *kiosk); 41 42 G_END_DECLS 43 44 #endif /* !__XFCE_KIOSK_H__ */ 45