| 1 | /* GTK - The GIMP Toolkit |
| 2 | * Copyright 1998-2002 Tim Janik, Red Hat, Inc., and others. |
| 3 | * Copyright (C) 2003 Alex Graveley |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This 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 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the |
| 17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 18 | * Boston, MA 02111-1307, USA. |
| 19 | */ |
| 20 | |
| 21 | #ifndef __GTK_MODULES_H__ |
| 22 | #define __GTK_MODULES_H__ |
| 23 | |
| 24 | #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) |
| 25 | #error "Only <gtk/gtk.h> can be included directly." |
| 26 | #endif |
| 27 | |
| 28 | #include <gtk/gtksettings.h> |
| 29 | |
| 30 | |
| 31 | G_BEGIN_DECLS |
| 32 | |
| 33 | |
| 34 | /* Functions for use within GTK+ |
| 35 | */ |
| 36 | gchar * _gtk_find_module (const gchar *name, |
| 37 | const gchar *type); |
| 38 | gchar **_gtk_get_module_path (const gchar *type); |
| 39 | |
| 40 | void _gtk_modules_init (gint *argc, |
| 41 | gchar ***argv, |
| 42 | const gchar *gtk_modules_args); |
| 43 | void _gtk_modules_settings_changed (GtkSettings *settings, |
| 44 | const gchar *modules); |
| 45 | |
| 46 | typedef void (*GtkModuleInitFunc) (gint *argc, |
| 47 | gchar ***argv); |
| 48 | typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display); |
| 49 | |
| 50 | |
| 51 | G_END_DECLS |
| 52 | |
| 53 | |
| 54 | #endif /* __GTK_MODULES_H__ */ |
| 55 | |