grim/guifications3
Clone
Summary
Browse
Changes
Graph
moved guifications-gtk to cmake
cmake
2010-12-13, Gary Kramlich
36e02fafe588
moved guifications-gtk to cmake
/*
* Guifications - The end-all, be-all notification framework
* Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GF_PREFERENCES_H
#define GF_PREFERENCES_H
#include
<glib.h>
#include
<gflib/gf_preference_engine.h>
G_BEGIN_DECLS
void
gf_preferences_reload
(
void
);
void
gf_preferences_save
(
void
);
void
gf_preferences_add_section
(
const
gchar
*
path
);
void
gf_preferences_add_string
(
const
gchar
*
name
,
const
gchar
*
def
);
void
gf_preferences_set_string
(
const
gchar
*
name
,
const
gchar
*
value
);
const
gchar
*
gf_preferences_get_string
(
const
gchar
*
name
);
void
gf_preferences_add_int
(
const
gchar
*
name
,
gint
def
);
void
gf_preferences_set_int
(
const
gchar
*
name
,
gint
value
);
gint
gf_preferences_get_int
(
const
gchar
*
name
);
void
gf_preferences_add_bool
(
const
gchar
*
name
,
gboolean
def
);
void
gf_preferences_set_bool
(
const
gchar
*
name
,
gboolean
value
);
gboolean
gf_preferences_get_bool
(
const
gchar
*
name
);
gboolean
gf_preferences_exist
(
const
gchar
*
name
);
gboolean
gf_preferences_rename
(
const
gchar
*
oldname
,
const
gchar
*
newname
);
gint
gf_preferences_remove
(
const
gchar
*
path
);
GfPreference
**
gf_preferences_query
(
const
gchar
*
path
,
guint
*
num_prefs
);
GfPreferenceType
gf_preferences_get_type
(
const
gchar
*
path
);
gboolean
gf_preferences_add_engine
(
GfPreferenceEngine
*
engine
,
const
gchar
*
mntpnt
);
gboolean
gf_preferences_remove_engine
(
const
gchar
*
mntpnt
);
G_END_DECLS
#endif
/* GF_PREFERENCES_H */