Updated Spanish translation
[anjuta-git-plugin.git] / plugins / editor / properties.h
blob165d0c637632ef15dea1265829be3a2219646c31
1 /*
2 * properties.h Copyright (C) 2000 Kh. Naba Kumar Singh
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation; either version 2 of the License, or (at your option)
7 * any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc., 59
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef _PROPERTIES_H_
20 #define _PROPERTIES_H_
23 #include <glib.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 typedef gint PropsID;
31 PropsID sci_prop_set_new (void);
32 void sci_prop_set_destroy (PropsID p);
33 gpointer sci_prop_get_pointer (PropsID p);
35 void sci_prop_set_with_key (PropsID p, const gchar *key, const gchar *val);
36 void sci_prop_set_int_with_key (PropsID p, const gchar *key, int val);
37 void sci_prop_set (PropsID p, const gchar *keyval);
38 gchar* sci_prop_get (PropsID p, const gchar *key);
39 gchar* sci_prop_get_expanded (PropsID p, const gchar *key);
40 gchar* sci_prop_expand (PropsID p, const gchar *withvars);
41 int sci_prop_get_int (PropsID p, const gchar *key, gint defaultValue);
42 gchar* sci_prop_get_wild (PropsID p, const gchar *keybase, const gchar *filename);
43 gchar* sci_prop_get_new_expand (PropsID p, const gchar *keybase, const gchar *filename);
44 void sci_prop_clear (PropsID p);
45 void sci_prop_read_from_memory (PropsID p, const gchar *data,
46 gint len, const gchar *directoryForImports);
47 void sci_prop_read (PropsID p, const gchar *filename, const gchar *directoryForImports);
48 void sci_prop_set_parent (PropsID p1, PropsID p2);
49 GList* sci_prop_glist_from_data (guint props, const gchar* id);
51 #ifdef __cplusplus
53 #endif
55 #endif /* _PROPERTIES_H_ */