1 /* -*- Mode: C; c-set-style: linux indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 /* gnome-ditem.h - Utilities for the GNOME Desktop 3 4 Copyright (C) 1998 Tom Tromey 5 All rights reserved. 6 7 This file is part of the Gnome Library. 8 9 The Gnome Library is free software; you can redistribute it and/or 10 modify it under the terms of the GNU Library General Public License as 11 published by the Free Software Foundation; either version 2 of the 12 License, or (at your option) any later version. 13 14 The Gnome Library is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 Library General Public License for more details. 18 19 You should have received a copy of the GNU Library General Public 20 License along with the Gnome Library; see the file COPYING.LIB. If not, 21 write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 Boston, MA 02110-1301, USA. */ 23 /* 24 @NOTATION@ 25 */ 26 27 #ifndef GNOME_DESKTOP_UTILS_H 28 #define GNOME_DESKTOP_UTILS_H 29 30 #ifndef GNOME_DESKTOP_USE_UNSTABLE_API 31 #error gnome-desktop-utils is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API before including gnome-desktop-utils.h 32 #endif 33 34 #include <glib.h> 35 #include <glib-object.h> 36 37 #include <gdk/gdk.h> 38 #include <gtk/gtk.h> 39 #include <pwd.h> 40 41 G_BEGIN_DECLS 42 43 /* prepend the terminal command to a vector */ 44 void gnome_desktop_prepend_terminal_to_vector (int *argc, char ***argv); 45 46 const char *gnome_desktop_get_media_key_string (gint type); 47 struct passwd *gnome_desktop_get_session_user_pwent (void); 48 49 G_END_DECLS 50 51 #endif /* GNOME_DITEM_H */ 52