[134] | 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- |
---|
| 2 | * |
---|
| 3 | * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu> |
---|
| 4 | * |
---|
| 5 | * This program is free software; you can redistribute it and/or modify |
---|
| 6 | * it under the terms of the GNU General Public License as published by |
---|
| 7 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 8 | * (at your option) any later version. |
---|
| 9 | * |
---|
| 10 | * This program 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 |
---|
| 13 | * GNU General Public License for more details. |
---|
| 14 | * |
---|
| 15 | * You should have received a copy of the GNU General Public License |
---|
| 16 | * along with this program; if not, write to the Free Software |
---|
| 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 18 | * |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | #ifndef __GDM_SETTINGS_DIRECT_H |
---|
| 23 | #define __GDM_SETTINGS_DIRECT_H |
---|
| 24 | |
---|
| 25 | #include <glib-object.h> |
---|
| 26 | #include "gdm-settings.h" |
---|
| 27 | |
---|
| 28 | G_BEGIN_DECLS |
---|
| 29 | |
---|
| 30 | gboolean gdm_settings_direct_init (GdmSettings *settings, |
---|
| 31 | const char *schemas_file, |
---|
| 32 | const char *root); |
---|
| 33 | void gdm_settings_direct_shutdown (void); |
---|
| 34 | |
---|
| 35 | gboolean gdm_settings_direct_get (const char *key, |
---|
| 36 | GValue *value); |
---|
| 37 | gboolean gdm_settings_direct_set (const char *key, |
---|
| 38 | GValue *value); |
---|
| 39 | gboolean gdm_settings_direct_get_int (const char *key, |
---|
| 40 | int *value); |
---|
| 41 | gboolean gdm_settings_direct_get_uint (const char *key, |
---|
| 42 | uint *value); |
---|
| 43 | gboolean gdm_settings_direct_get_boolean (const char *key, |
---|
| 44 | gboolean *value); |
---|
| 45 | gboolean gdm_settings_direct_get_string (const char *key, |
---|
| 46 | char **value); |
---|
| 47 | |
---|
| 48 | G_END_DECLS |
---|
| 49 | |
---|
| 50 | #endif /* __GDM_SETTINGS_DIRECT_H */ |
---|