/usr/include/gmtk/gm_pref_store.h is in libgmlib-dev 1.0.9-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* gm_pref_store.h
* Copyright (C) Kevin DeKorte 2006 <kdekorte@gmail.com>
*
* gm_pref_store.h is free software.
*
* You may redistribute it and/or modify it under the terms of the
* GNU General Public License, as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* gm_pref_store.h is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with playlist.c. If not, write to:
* The Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <glib.h>
#include <string.h>
#ifndef __GM_PREF_STORE_H__
#define __GM_PREF_STORE_H__
typedef struct _GmPrefStore GmPrefStore;
#ifdef __cplusplus
extern "C" {
#endif
GmPrefStore *gm_pref_store_new(const gchar * context);
void gm_pref_store_free(GmPrefStore * store);
gboolean gm_pref_store_get_boolean(GmPrefStore * store, const gchar * key);
gboolean gm_pref_store_get_boolean_with_default(GmPrefStore * store, const gchar * key, gboolean default_value);
void gm_pref_store_set_boolean(GmPrefStore * store, const gchar * key, gboolean value);
gint gm_pref_store_get_int(GmPrefStore * store, const gchar * key);
gint gm_pref_store_get_int_with_default(GmPrefStore * store, const gchar * key, gint default_value);
void gm_pref_store_set_int(GmPrefStore * store, const gchar * key, gint value);
gfloat gm_pref_store_get_float(GmPrefStore * store, const gchar * key);
void gm_pref_store_set_float(GmPrefStore * store, const gchar * key, gfloat value);
gchar *gm_pref_store_get_string(GmPrefStore * store, const gchar * key);
void gm_pref_store_set_string(GmPrefStore * store, const gchar * key, gchar * value);
void gm_pref_store_unset(GmPrefStore * store, const gchar * key);
#ifdef __cplusplus
}
#endif
#endif
|