File: planner-conf.h

package info (click to toggle)
planner 0.14.6-7
  • links: PTS
  • area: main
  • in suites: buster
  • size: 14,600 kB
  • sloc: ansic: 67,239; sh: 10,242; xml: 3,928; sql: 886; makefile: 665; python: 3
file content (43 lines) | stat: -rw-r--r-- 1,642 bytes parent folder | download | duplicates (2)
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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Copyright (C) 2004 Imendio AB
 *
 * 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 2 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, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __PLANNER_CONF_H__
#define __PLANNER_CONF_H__

GSettings *   planner_conf_get_gsettings (const gchar    *set);
gboolean      planner_conf_get_bool      (const gchar    *key,
					  const gchar    *set);
gchar *       planner_conf_get_string    (const gchar    *key,
					  const gchar    *set);
gint          planner_conf_get_int       (const gchar    *key,
					  const gchar    *set);

gboolean      planner_conf_set_bool      (const gchar     *key,
					  gboolean         value,
					  const gchar     *set);
gboolean      planner_conf_set_string    (const gchar     *key,
					  const gchar     *value,
					  const gchar     *set);
gboolean      planner_conf_set_int       (const gchar     *key,
					  gint             value,
					  const gchar     *set);

#endif /* __PLANNER_CONF_H__ */