|
@@ -1,116 +1,116 @@
|
|
{$IfDef read_interface}
|
|
{$IfDef read_interface}
|
|
-function _gnome_config_get_string_with_default(path:Pchar; def:Pgboolean; priv:gint):pchar;cdecl;external libgnomedll name '_gnome_config_get_string_with_default';
|
|
|
|
-function _gnome_config_get_translated_string_with_default(path:Pchar; def:Pgboolean; priv:gint):pchar;cdecl;external libgnomedll name '_gnome_config_get_translated_string_with_default';
|
|
|
|
-function _gnome_config_get_int_with_default(path:Pchar; def:Pgboolean; priv:gint):gint;cdecl;external libgnomedll name '_gnome_config_get_int_with_default';
|
|
|
|
-function _gnome_config_get_float_with_default(path:Pchar; def:Pgboolean; priv:gint):gdouble;cdecl;external libgnomedll name '_gnome_config_get_float_with_default';
|
|
|
|
-function _gnome_config_get_bool_with_default(path:Pchar; def:Pgboolean; priv:gint):gboolean;cdecl;external libgnomedll name '_gnome_config_get_bool_with_default';
|
|
|
|
-Procedure _gnome_config_get_vector_with_default(path:Pchar; argcp:Pgint; argvp:PPPchar; def:Pgboolean; priv:gint);cdecl;external libgnomedll name '_gnome_config_get_vector_with_default';
|
|
|
|
-
|
|
|
|
-function gnome_config_get_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
-function gnome_config_get_translated_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
-function gnome_config_get_int_with_default(path:Pchar; def:Pgboolean):gint;
|
|
|
|
-function gnome_config_get_float_with_default(path:Pchar; def:Pgboolean):gdouble;
|
|
|
|
-function gnome_config_get_bool_with_default(path:Pchar; def:Pgboolean):gboolean;
|
|
|
|
-Procedure gnome_config_get_vector_with_default(path:Pchar; argcp:Pgint; argvp:PPPchar; def:Pgboolean);
|
|
|
|
-
|
|
|
|
-function gnome_config_private_get_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
-function gnome_config_private_get_translated_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
-function gnome_config_private_get_int_with_default(path:Pchar; def:Pgboolean):gint;
|
|
|
|
-function gnome_config_private_get_float_with_default(path:Pchar; def:Pgboolean):gdouble;
|
|
|
|
-function gnome_config_private_get_bool_with_default(path:Pchar; def:Pgboolean):gboolean;
|
|
|
|
-procedure gnome_config_private_get_vector_with_default(path:Pchar; argcp:Pgint; argvp:PPPchar; def:Pgboolean);
|
|
|
|
-
|
|
|
|
-function gnome_config_get_string(path:Pchar):pchar;
|
|
|
|
-function gnome_config_get_translated_string(path:Pchar):pchar;
|
|
|
|
-function gnome_config_get_int(path:Pchar):gint;
|
|
|
|
-function gnome_config_get_float(path:Pchar):gdouble;
|
|
|
|
-function gnome_config_get_bool(path:Pchar):gboolean;
|
|
|
|
-procedure gnome_config_get_vector(path:Pchar; argcp:Pgint; argvp:PPPchar);
|
|
|
|
-
|
|
|
|
-function gnome_config_private_get_string(path:Pchar):pchar;
|
|
|
|
-function gnome_config_private_get_translated_string(path:Pchar):pchar;
|
|
|
|
-function gnome_config_private_get_int(path:Pchar):gint;
|
|
|
|
-function gnome_config_private_get_float(path:Pchar):gdouble;
|
|
|
|
-function gnome_config_private_get_bool(path:Pchar):gboolean;
|
|
|
|
-procedure gnome_config_private_get_vector(path:Pchar; argcp:Pgint; argvp:PPPchar);
|
|
|
|
-
|
|
|
|
-procedure _gnome_config_set_string(path:Pchar; value:Pchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_string';
|
|
|
|
-procedure _gnome_config_set_translated_string(path:Pchar; value:Pchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_translated_string';
|
|
|
|
-procedure _gnome_config_set_int(path:Pchar; value:longint; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_int';
|
|
|
|
-procedure _gnome_config_set_float(path:Pchar; value:gdouble; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_float';
|
|
|
|
-procedure _gnome_config_set_bool(path:Pchar; value:gboolean; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_bool';
|
|
|
|
-procedure _gnome_config_set_vector(path:Pchar; argc:longint; argv:PPchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_vector';
|
|
|
|
-
|
|
|
|
-procedure gnome_config_set_string(path,new_value : Pchar);
|
|
|
|
-procedure gnome_config_set_translated_string(path, new_value : PChar);
|
|
|
|
-procedure gnome_config_set_int(path : PChar; new_value : longint);
|
|
|
|
-procedure gnome_config_set_float(path : PChar; new_value : longint);
|
|
|
|
-procedure gnome_config_set_bool(path : PChar; new_value : gboolean);
|
|
|
|
-procedure gnome_config_set_vector(path:Pchar; argc:longint; argv:PPchar);
|
|
|
|
-
|
|
|
|
-procedure gnome_config_private_set_string(path,new_value : Pchar);
|
|
|
|
-procedure gnome_config_private_set_translated_string(path, new_value : PChar);
|
|
|
|
-procedure gnome_config_private_set_int(path : Pchar; new_value : longint);
|
|
|
|
-procedure gnome_config_private_set_float(path : PChar; new_value : longint);
|
|
|
|
-procedure gnome_config_private_set_bool(path : PChar; new_value : gboolean);
|
|
|
|
-procedure gnome_config_private_set_vector(path:Pchar; argc:longint; argv:PPchar);
|
|
|
|
-
|
|
|
|
-function _gnome_config_has_section(path:Pchar; priv:gint):gboolean;cdecl;external libgnomedll name '_gnome_config_has_section';
|
|
|
|
-
|
|
|
|
-function gnome_config_has_section(path : Pchar) : gboolean;
|
|
|
|
-
|
|
|
|
-function gnome_config_private_has_section(path : pchar) : gboolean;
|
|
|
|
-
|
|
|
|
-function _gnome_config_init_iterator(path:Pchar; priv:gint):pointer;cdecl;external libgnomedll name '_gnome_config_init_iterator';
|
|
|
|
-function _gnome_config_init_iterator_sections(path:Pchar; priv:gint):pointer;cdecl;external libgnomedll name '_gnome_config_init_iterator_sections';
|
|
|
|
-function gnome_config_iterator_next(iterator_handle:pointer; key:PPchar; value:PPchar):pointer;cdecl;external libgnomedll name 'gnome_config_iterator_next';
|
|
|
|
-
|
|
|
|
-function gnome_config_init_iterator(path : pchar) : pointer;
|
|
|
|
-function gnome_config_init_iterator_sections(path : Pchar) : pointer;
|
|
|
|
-
|
|
|
|
-function gnome_config_private_init_iterator(path : Pchar) : pointer;
|
|
|
|
-function gnome_config_private_init_iterator_sections(path : Pchar) : pointer;
|
|
|
|
|
|
+function _gnome_config_get_string_with_default(path:PAnsiChar; def:Pgboolean; priv:gint):PAnsiChar;cdecl;external libgnomedll name '_gnome_config_get_string_with_default';
|
|
|
|
+function _gnome_config_get_translated_string_with_default(path:PAnsiChar; def:Pgboolean; priv:gint):PAnsiChar;cdecl;external libgnomedll name '_gnome_config_get_translated_string_with_default';
|
|
|
|
+function _gnome_config_get_int_with_default(path:PAnsiChar; def:Pgboolean; priv:gint):gint;cdecl;external libgnomedll name '_gnome_config_get_int_with_default';
|
|
|
|
+function _gnome_config_get_float_with_default(path:PAnsiChar; def:Pgboolean; priv:gint):gdouble;cdecl;external libgnomedll name '_gnome_config_get_float_with_default';
|
|
|
|
+function _gnome_config_get_bool_with_default(path:PAnsiChar; def:Pgboolean; priv:gint):gboolean;cdecl;external libgnomedll name '_gnome_config_get_bool_with_default';
|
|
|
|
+Procedure _gnome_config_get_vector_with_default(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar; def:Pgboolean; priv:gint);cdecl;external libgnomedll name '_gnome_config_get_vector_with_default';
|
|
|
|
+
|
|
|
|
+function gnome_config_get_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
|
|
+function gnome_config_get_translated_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
|
|
+function gnome_config_get_int_with_default(path:PAnsiChar; def:Pgboolean):gint;
|
|
|
|
+function gnome_config_get_float_with_default(path:PAnsiChar; def:Pgboolean):gdouble;
|
|
|
|
+function gnome_config_get_bool_with_default(path:PAnsiChar; def:Pgboolean):gboolean;
|
|
|
|
+Procedure gnome_config_get_vector_with_default(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar; def:Pgboolean);
|
|
|
|
+
|
|
|
|
+function gnome_config_private_get_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
|
|
+function gnome_config_private_get_translated_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
|
|
+function gnome_config_private_get_int_with_default(path:PAnsiChar; def:Pgboolean):gint;
|
|
|
|
+function gnome_config_private_get_float_with_default(path:PAnsiChar; def:Pgboolean):gdouble;
|
|
|
|
+function gnome_config_private_get_bool_with_default(path:PAnsiChar; def:Pgboolean):gboolean;
|
|
|
|
+procedure gnome_config_private_get_vector_with_default(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar; def:Pgboolean);
|
|
|
|
+
|
|
|
|
+function gnome_config_get_string(path:PAnsiChar):PAnsiChar;
|
|
|
|
+function gnome_config_get_translated_string(path:PAnsiChar):PAnsiChar;
|
|
|
|
+function gnome_config_get_int(path:PAnsiChar):gint;
|
|
|
|
+function gnome_config_get_float(path:PAnsiChar):gdouble;
|
|
|
|
+function gnome_config_get_bool(path:PAnsiChar):gboolean;
|
|
|
|
+procedure gnome_config_get_vector(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar);
|
|
|
|
+
|
|
|
|
+function gnome_config_private_get_string(path:PAnsiChar):PAnsiChar;
|
|
|
|
+function gnome_config_private_get_translated_string(path:PAnsiChar):PAnsiChar;
|
|
|
|
+function gnome_config_private_get_int(path:PAnsiChar):gint;
|
|
|
|
+function gnome_config_private_get_float(path:PAnsiChar):gdouble;
|
|
|
|
+function gnome_config_private_get_bool(path:PAnsiChar):gboolean;
|
|
|
|
+procedure gnome_config_private_get_vector(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar);
|
|
|
|
+
|
|
|
|
+procedure _gnome_config_set_string(path:PAnsiChar; value:PAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_string';
|
|
|
|
+procedure _gnome_config_set_translated_string(path:PAnsiChar; value:PAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_translated_string';
|
|
|
|
+procedure _gnome_config_set_int(path:PAnsiChar; value:longint; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_int';
|
|
|
|
+procedure _gnome_config_set_float(path:PAnsiChar; value:gdouble; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_float';
|
|
|
|
+procedure _gnome_config_set_bool(path:PAnsiChar; value:gboolean; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_bool';
|
|
|
|
+procedure _gnome_config_set_vector(path:PAnsiChar; argc:longint; argv:PPAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_set_vector';
|
|
|
|
+
|
|
|
|
+procedure gnome_config_set_string(path,new_value : PAnsiChar);
|
|
|
|
+procedure gnome_config_set_translated_string(path, new_value : PAnsiChar);
|
|
|
|
+procedure gnome_config_set_int(path : PAnsiChar; new_value : longint);
|
|
|
|
+procedure gnome_config_set_float(path : PAnsiChar; new_value : longint);
|
|
|
|
+procedure gnome_config_set_bool(path : PAnsiChar; new_value : gboolean);
|
|
|
|
+procedure gnome_config_set_vector(path:PAnsiChar; argc:longint; argv:PPAnsiChar);
|
|
|
|
+
|
|
|
|
+procedure gnome_config_private_set_string(path,new_value : PAnsiChar);
|
|
|
|
+procedure gnome_config_private_set_translated_string(path, new_value : PAnsiChar);
|
|
|
|
+procedure gnome_config_private_set_int(path : PAnsiChar; new_value : longint);
|
|
|
|
+procedure gnome_config_private_set_float(path : PAnsiChar; new_value : longint);
|
|
|
|
+procedure gnome_config_private_set_bool(path : PAnsiChar; new_value : gboolean);
|
|
|
|
+procedure gnome_config_private_set_vector(path:PAnsiChar; argc:longint; argv:PPAnsiChar);
|
|
|
|
+
|
|
|
|
+function _gnome_config_has_section(path:PAnsiChar; priv:gint):gboolean;cdecl;external libgnomedll name '_gnome_config_has_section';
|
|
|
|
+
|
|
|
|
+function gnome_config_has_section(path : PAnsiChar) : gboolean;
|
|
|
|
+
|
|
|
|
+function gnome_config_private_has_section(path : PAnsiChar) : gboolean;
|
|
|
|
+
|
|
|
|
+function _gnome_config_init_iterator(path:PAnsiChar; priv:gint):pointer;cdecl;external libgnomedll name '_gnome_config_init_iterator';
|
|
|
|
+function _gnome_config_init_iterator_sections(path:PAnsiChar; priv:gint):pointer;cdecl;external libgnomedll name '_gnome_config_init_iterator_sections';
|
|
|
|
+function gnome_config_iterator_next(iterator_handle:pointer; key:PPAnsiChar; value:PPAnsiChar):pointer;cdecl;external libgnomedll name 'gnome_config_iterator_next';
|
|
|
|
+
|
|
|
|
+function gnome_config_init_iterator(path : PAnsiChar) : pointer;
|
|
|
|
+function gnome_config_init_iterator_sections(path : PAnsiChar) : pointer;
|
|
|
|
+
|
|
|
|
+function gnome_config_private_init_iterator(path : PAnsiChar) : pointer;
|
|
|
|
+function gnome_config_private_init_iterator_sections(path : PAnsiChar) : pointer;
|
|
|
|
|
|
procedure gnome_config_drop_all;cdecl;external libgnomedll name 'gnome_config_drop_all';
|
|
procedure gnome_config_drop_all;cdecl;external libgnomedll name 'gnome_config_drop_all';
|
|
procedure gnome_config_sync;cdecl;external libgnomedll name 'gnome_config_sync';
|
|
procedure gnome_config_sync;cdecl;external libgnomedll name 'gnome_config_sync';
|
|
-procedure _gnome_config_sync_file(path:Pchar; priv:longint);cdecl;external libgnomedll name '_gnome_config_sync_file';
|
|
|
|
|
|
+procedure _gnome_config_sync_file(path:PAnsiChar; priv:longint);cdecl;external libgnomedll name '_gnome_config_sync_file';
|
|
|
|
|
|
-procedure gnome_config_sync_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_sync_file(path : PAnsiChar);
|
|
|
|
|
|
-procedure gnome_config_private_sync_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_sync_file(path : PAnsiChar);
|
|
|
|
|
|
-procedure _gnome_config_drop_file(path:Pchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_drop_file';
|
|
|
|
|
|
+procedure _gnome_config_drop_file(path:PAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_drop_file';
|
|
|
|
|
|
-procedure gnome_config_drop_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_drop_file(path : PAnsiChar);
|
|
|
|
|
|
-procedure gnome_config_private_drop_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_drop_file(path : PAnsiChar);
|
|
|
|
|
|
-procedure _gnome_config_clean_file(path:Pchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_clean_file';
|
|
|
|
|
|
+procedure _gnome_config_clean_file(path:PAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_clean_file';
|
|
|
|
|
|
-Procedure gnome_config_clean_file(path:Pchar);
|
|
|
|
|
|
+Procedure gnome_config_clean_file(path:PAnsiChar);
|
|
|
|
|
|
-Procedure gnome_config_private_clean_file(path:Pchar);
|
|
|
|
|
|
+Procedure gnome_config_private_clean_file(path:PAnsiChar);
|
|
|
|
|
|
-procedure _gnome_config_clean_section(path:Pchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_clean_section';
|
|
|
|
|
|
+procedure _gnome_config_clean_section(path:PAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_clean_section';
|
|
|
|
|
|
-procedure gnome_config_clean_section(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_clean_section(path:PAnsiChar);
|
|
|
|
|
|
-procedure gnome_config_private_clean_section(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_clean_section(path:PAnsiChar);
|
|
|
|
|
|
-procedure _gnome_config_clean_key(path:Pchar; priv:gint);cdecl;external libgnomedll name '_gnome_config_clean_key';
|
|
|
|
|
|
+procedure _gnome_config_clean_key(path:PAnsiChar; priv:gint);cdecl;external libgnomedll name '_gnome_config_clean_key';
|
|
|
|
|
|
-procedure gnome_config_clean_key(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_clean_key(path:PAnsiChar);
|
|
|
|
|
|
-procedure gnome_config_private_clean_key(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_clean_key(path:PAnsiChar);
|
|
|
|
|
|
-function gnome_config_get_real_path(path:Pchar):Pchar;
|
|
|
|
|
|
+function gnome_config_get_real_path(path:PAnsiChar):PAnsiChar;
|
|
|
|
|
|
-function gnome_config_private_get_real_path(path:Pchar):Pchar;
|
|
|
|
|
|
+function gnome_config_private_get_real_path(path:PAnsiChar):PAnsiChar;
|
|
|
|
|
|
-procedure gnome_config_push_prefix(path:Pchar);cdecl;external libgnomedll name 'gnome_config_push_prefix';
|
|
|
|
|
|
+procedure gnome_config_push_prefix(path:PAnsiChar);cdecl;external libgnomedll name 'gnome_config_push_prefix';
|
|
procedure gnome_config_pop_prefix;cdecl;external libgnomedll name 'gnome_config_pop_prefix';
|
|
procedure gnome_config_pop_prefix;cdecl;external libgnomedll name 'gnome_config_pop_prefix';
|
|
-procedure gnome_config_make_vector(_string:Pchar; argcp:Plongint; argvp:PPPchar);cdecl;external libgnomedll name 'gnome_config_make_vector';
|
|
|
|
-function gnome_config_assemble_vector(argc:longint; argv:PPchar):pchar;cdecl;external libgnomedll name 'gnome_config_assemble_vector';
|
|
|
|
|
|
+procedure gnome_config_make_vector(_string:PAnsiChar; argcp:Plongint; argvp:PPPAnsiChar);cdecl;external libgnomedll name 'gnome_config_make_vector';
|
|
|
|
+function gnome_config_assemble_vector(argc:longint; argv:PPAnsiChar):PAnsiChar;cdecl;external libgnomedll name 'gnome_config_assemble_vector';
|
|
|
|
|
|
Type
|
|
Type
|
|
TGnomeConfigHandler = procedure (param : pointer); cdecl;
|
|
TGnomeConfigHandler = procedure (param : pointer); cdecl;
|
|
@@ -122,272 +122,272 @@ procedure gnome_config_set_sync_handler(func:TGnomeConfigHandler; data:pointer);
|
|
|
|
|
|
{$Ifdef read_implementation}
|
|
{$Ifdef read_implementation}
|
|
|
|
|
|
-function gnome_config_get_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
|
|
+function gnome_config_get_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_get_string_with_default:=_gnome_config_get_string_with_default(path,def,0);
|
|
gnome_config_get_string_with_default:=_gnome_config_get_string_with_default(path,def,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_translated_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
|
|
+function gnome_config_get_translated_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_get_translated_string_with_default:=_gnome_config_get_translated_string_with_default(path,def,0);
|
|
gnome_config_get_translated_string_with_default:=_gnome_config_get_translated_string_with_default(path,def,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_int_with_default(path:Pchar; def:Pgboolean):gint;
|
|
|
|
|
|
+function gnome_config_get_int_with_default(path:PAnsiChar; def:Pgboolean):gint;
|
|
begin
|
|
begin
|
|
gnome_config_get_int_with_default:=_gnome_config_get_int_with_default(path,def,0);
|
|
gnome_config_get_int_with_default:=_gnome_config_get_int_with_default(path,def,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_float_with_default(path:Pchar; def:Pgboolean):gdouble;
|
|
|
|
|
|
+function gnome_config_get_float_with_default(path:PAnsiChar; def:Pgboolean):gdouble;
|
|
begin
|
|
begin
|
|
gnome_config_get_float_with_default:=_gnome_config_get_float_with_default(path,def,0);
|
|
gnome_config_get_float_with_default:=_gnome_config_get_float_with_default(path,def,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_bool_with_default(path:Pchar; def:Pgboolean):gboolean;
|
|
|
|
|
|
+function gnome_config_get_bool_with_default(path:PAnsiChar; def:Pgboolean):gboolean;
|
|
begin
|
|
begin
|
|
gnome_config_get_bool_with_default:=_gnome_config_get_bool_with_default(path,def,0);
|
|
gnome_config_get_bool_with_default:=_gnome_config_get_bool_with_default(path,def,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_get_vector_with_default(path:Pchar; argcp:Pgint; argvp:PPPchar; def:Pgboolean);
|
|
|
|
|
|
+procedure gnome_config_get_vector_with_default(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar; def:Pgboolean);
|
|
begin
|
|
begin
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,def,0);
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,def,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
|
|
+function gnome_config_private_get_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_string_with_default:=_gnome_config_get_string_with_default(path,def,1);
|
|
gnome_config_private_get_string_with_default:=_gnome_config_get_string_with_default(path,def,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_translated_string_with_default(path:Pchar; def:Pgboolean):pchar;
|
|
|
|
|
|
+function gnome_config_private_get_translated_string_with_default(path:PAnsiChar; def:Pgboolean):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_translated_string_with_default:=_gnome_config_get_translated_string_with_default(path,def,1);
|
|
gnome_config_private_get_translated_string_with_default:=_gnome_config_get_translated_string_with_default(path,def,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_int_with_default(path:Pchar; def:Pgboolean):gint;
|
|
|
|
|
|
+function gnome_config_private_get_int_with_default(path:PAnsiChar; def:Pgboolean):gint;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_int_with_default:=_gnome_config_get_int_with_default(path,def,1);
|
|
gnome_config_private_get_int_with_default:=_gnome_config_get_int_with_default(path,def,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_float_with_default(path:Pchar; def:Pgboolean):gdouble;
|
|
|
|
|
|
+function gnome_config_private_get_float_with_default(path:PAnsiChar; def:Pgboolean):gdouble;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_float_with_default:=_gnome_config_get_float_with_default(path,def,1);
|
|
gnome_config_private_get_float_with_default:=_gnome_config_get_float_with_default(path,def,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_bool_with_default(path:Pchar; def:Pgboolean):gboolean;
|
|
|
|
|
|
+function gnome_config_private_get_bool_with_default(path:PAnsiChar; def:Pgboolean):gboolean;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_bool_with_default:=_gnome_config_get_bool_with_default(path,def,1);
|
|
gnome_config_private_get_bool_with_default:=_gnome_config_get_bool_with_default(path,def,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_get_vector_with_default(path:Pchar; argcp:Pgint; argvp:PPPchar; def:Pgboolean);
|
|
|
|
|
|
+procedure gnome_config_private_get_vector_with_default(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar; def:Pgboolean);
|
|
begin
|
|
begin
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,def,1);
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,def,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_string(path:Pchar):pchar;
|
|
|
|
|
|
+function gnome_config_get_string(path:PAnsiChar):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_get_string:=_gnome_config_get_string_with_default(path,nil,0);
|
|
gnome_config_get_string:=_gnome_config_get_string_with_default(path,nil,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_translated_string(path:Pchar):pchar;
|
|
|
|
|
|
+function gnome_config_get_translated_string(path:PAnsiChar):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_get_translated_string:=_gnome_config_get_translated_string_with_default(path,nil,0);
|
|
gnome_config_get_translated_string:=_gnome_config_get_translated_string_with_default(path,nil,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_int(path:Pchar):gint;
|
|
|
|
|
|
+function gnome_config_get_int(path:PAnsiChar):gint;
|
|
begin
|
|
begin
|
|
gnome_config_get_int:=_gnome_config_get_int_with_default(path,nil,0);
|
|
gnome_config_get_int:=_gnome_config_get_int_with_default(path,nil,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_float(path:Pchar):gdouble;
|
|
|
|
|
|
+function gnome_config_get_float(path:PAnsiChar):gdouble;
|
|
begin
|
|
begin
|
|
gnome_config_get_float:=_gnome_config_get_float_with_default(path,nil,0);
|
|
gnome_config_get_float:=_gnome_config_get_float_with_default(path,nil,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_bool(path:Pchar):gboolean;
|
|
|
|
|
|
+function gnome_config_get_bool(path:PAnsiChar):gboolean;
|
|
begin
|
|
begin
|
|
gnome_config_get_bool:=_gnome_config_get_bool_with_default(path,nil,0);
|
|
gnome_config_get_bool:=_gnome_config_get_bool_with_default(path,nil,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_get_vector(path:Pchar; argcp:Pgint; argvp:PPPchar);
|
|
|
|
|
|
+procedure gnome_config_get_vector(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,nil,0);
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,nil,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_string(path:Pchar):pchar;
|
|
|
|
|
|
+function gnome_config_private_get_string(path:PAnsiChar):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_string:=_gnome_config_get_string_with_default(path,nil,1);
|
|
gnome_config_private_get_string:=_gnome_config_get_string_with_default(path,nil,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_translated_string(path:Pchar):pchar;
|
|
|
|
|
|
+function gnome_config_private_get_translated_string(path:PAnsiChar):PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_translated_string:=_gnome_config_get_translated_string_with_default(path,nil,1);
|
|
gnome_config_private_get_translated_string:=_gnome_config_get_translated_string_with_default(path,nil,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_int(path:Pchar):gint;
|
|
|
|
|
|
+function gnome_config_private_get_int(path:PAnsiChar):gint;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_int:=_gnome_config_get_int_with_default(path,nil,1);
|
|
gnome_config_private_get_int:=_gnome_config_get_int_with_default(path,nil,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_float(path:Pchar):gdouble;
|
|
|
|
|
|
+function gnome_config_private_get_float(path:PAnsiChar):gdouble;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_float:=_gnome_config_get_float_with_default(path,nil,1);
|
|
gnome_config_private_get_float:=_gnome_config_get_float_with_default(path,nil,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_bool(path:Pchar):gboolean;
|
|
|
|
|
|
+function gnome_config_private_get_bool(path:PAnsiChar):gboolean;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_bool:=_gnome_config_get_bool_with_default(path,nil,1);
|
|
gnome_config_private_get_bool:=_gnome_config_get_bool_with_default(path,nil,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_get_vector(path:Pchar; argcp:Pgint; argvp:PPPchar);
|
|
|
|
|
|
+procedure gnome_config_private_get_vector(path:PAnsiChar; argcp:Pgint; argvp:PPPAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,nil,1);
|
|
_gnome_config_get_vector_with_default(path,argcp,argvp,nil,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_set_string(path,new_value : Pchar);
|
|
|
|
|
|
+procedure gnome_config_set_string(path,new_value : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_set_string(path,new_value,0);
|
|
_gnome_config_set_string(path,new_value,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_set_translated_string(path, new_value : PChar);
|
|
|
|
|
|
+procedure gnome_config_set_translated_string(path, new_value : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_set_translated_string(path,new_value,0);
|
|
_gnome_config_set_translated_string(path,new_value,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_set_int(path : PChar; new_value : longint);
|
|
|
|
|
|
+procedure gnome_config_set_int(path : PAnsiChar; new_value : longint);
|
|
begin
|
|
begin
|
|
_gnome_config_set_int(path,new_value,0);
|
|
_gnome_config_set_int(path,new_value,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_set_float(path : PChar; new_value : longint);
|
|
|
|
|
|
+procedure gnome_config_set_float(path : PAnsiChar; new_value : longint);
|
|
begin
|
|
begin
|
|
_gnome_config_set_float(path,new_value,0);
|
|
_gnome_config_set_float(path,new_value,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_set_bool(path : PChar; new_value : gboolean);
|
|
|
|
|
|
+procedure gnome_config_set_bool(path : PAnsiChar; new_value : gboolean);
|
|
begin
|
|
begin
|
|
_gnome_config_set_bool(path,new_value,0);
|
|
_gnome_config_set_bool(path,new_value,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_set_vector(path:Pchar; argc:longint; argv:PPchar);
|
|
|
|
|
|
+procedure gnome_config_set_vector(path:PAnsiChar; argc:longint; argv:PPAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_set_vector(path,argc,argv,0);
|
|
_gnome_config_set_vector(path,argc,argv,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_set_string(path,new_value : Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_set_string(path,new_value : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_set_string(path,new_value,1);
|
|
_gnome_config_set_string(path,new_value,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_set_translated_string(path, new_value : PChar);
|
|
|
|
|
|
+procedure gnome_config_private_set_translated_string(path, new_value : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_set_translated_string(path,new_value,1);
|
|
_gnome_config_set_translated_string(path,new_value,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_set_int(path : PChar; new_value : longint);
|
|
|
|
|
|
+procedure gnome_config_private_set_int(path : PAnsiChar; new_value : longint);
|
|
begin
|
|
begin
|
|
_gnome_config_set_int(path,new_value,1);
|
|
_gnome_config_set_int(path,new_value,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_set_float(path : PChar; new_value : longint);
|
|
|
|
|
|
+procedure gnome_config_private_set_float(path : PAnsiChar; new_value : longint);
|
|
begin
|
|
begin
|
|
_gnome_config_set_float(path,new_value,1);
|
|
_gnome_config_set_float(path,new_value,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_set_bool(path : PChar; new_value : gboolean);
|
|
|
|
|
|
+procedure gnome_config_private_set_bool(path : PAnsiChar; new_value : gboolean);
|
|
begin
|
|
begin
|
|
_gnome_config_set_bool(path,new_value,1);
|
|
_gnome_config_set_bool(path,new_value,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_set_vector(path:Pchar; argc:longint; argv:PPchar);
|
|
|
|
|
|
+procedure gnome_config_private_set_vector(path:PAnsiChar; argc:longint; argv:PPAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_set_vector(path,argc,argv,1);
|
|
_gnome_config_set_vector(path,argc,argv,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_has_section(path : Pchar) : gboolean;
|
|
|
|
|
|
+function gnome_config_has_section(path : PAnsiChar) : gboolean;
|
|
begin
|
|
begin
|
|
gnome_config_has_section:=_gnome_config_has_section(path,0);
|
|
gnome_config_has_section:=_gnome_config_has_section(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_has_section(path : pchar) : gboolean;
|
|
|
|
|
|
+function gnome_config_private_has_section(path : PAnsiChar) : gboolean;
|
|
begin
|
|
begin
|
|
gnome_config_private_has_section:=_gnome_config_has_section(path,1);
|
|
gnome_config_private_has_section:=_gnome_config_has_section(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_init_iterator(path : pchar) : pointer;
|
|
|
|
|
|
+function gnome_config_init_iterator(path : PAnsiChar) : pointer;
|
|
begin
|
|
begin
|
|
gnome_config_init_iterator:=_gnome_config_init_iterator(path,0);
|
|
gnome_config_init_iterator:=_gnome_config_init_iterator(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_init_iterator_sections(path : Pchar) : pointer;
|
|
|
|
|
|
+function gnome_config_init_iterator_sections(path : PAnsiChar) : pointer;
|
|
begin
|
|
begin
|
|
gnome_config_init_iterator_sections:=_gnome_config_init_iterator_sections(path,0);
|
|
gnome_config_init_iterator_sections:=_gnome_config_init_iterator_sections(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_init_iterator(path : Pchar) : pointer;
|
|
|
|
|
|
+function gnome_config_private_init_iterator(path : PAnsiChar) : pointer;
|
|
begin
|
|
begin
|
|
gnome_config_private_init_iterator:=_gnome_config_init_iterator(path,1);
|
|
gnome_config_private_init_iterator:=_gnome_config_init_iterator(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_init_iterator_sections(path : Pchar) : pointer;
|
|
|
|
|
|
+function gnome_config_private_init_iterator_sections(path : PAnsiChar) : pointer;
|
|
begin
|
|
begin
|
|
gnome_config_private_init_iterator_sections:=_gnome_config_init_iterator_sections(path,1);
|
|
gnome_config_private_init_iterator_sections:=_gnome_config_init_iterator_sections(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_sync_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_sync_file(path : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_sync_file(path,0);
|
|
_gnome_config_sync_file(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_sync_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_sync_file(path : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_sync_file(path,1);
|
|
_gnome_config_sync_file(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_drop_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_drop_file(path : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_drop_file(path,0);
|
|
_gnome_config_drop_file(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_drop_file(path : Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_drop_file(path : PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_drop_file(path,1);
|
|
_gnome_config_drop_file(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure gnome_config_clean_file(path:Pchar);
|
|
|
|
|
|
+Procedure gnome_config_clean_file(path:PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_clean_file(path,0);
|
|
_gnome_config_clean_file(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-Procedure gnome_config_private_clean_file(path:Pchar);
|
|
|
|
|
|
+Procedure gnome_config_private_clean_file(path:PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_clean_file(path,1);
|
|
_gnome_config_clean_file(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_clean_section(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_clean_section(path:PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_clean_section(path,0);
|
|
_gnome_config_clean_section(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_clean_section(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_clean_section(path:PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_clean_section(path,1);
|
|
_gnome_config_clean_section(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_clean_key(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_clean_key(path:PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_clean_key(path,0);
|
|
_gnome_config_clean_key(path,0);
|
|
end;
|
|
end;
|
|
|
|
|
|
-procedure gnome_config_private_clean_key(path:Pchar);
|
|
|
|
|
|
+procedure gnome_config_private_clean_key(path:PAnsiChar);
|
|
begin
|
|
begin
|
|
_gnome_config_clean_key(path,1);
|
|
_gnome_config_clean_key(path,1);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_get_real_path(path : pchar) : pchar;
|
|
|
|
|
|
+function gnome_config_get_real_path(path : PAnsiChar) : PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_get_real_path := g_concat_dir_and_file(gnome_user_dir, Path);
|
|
gnome_config_get_real_path := g_concat_dir_and_file(gnome_user_dir, Path);
|
|
end;
|
|
end;
|
|
|
|
|
|
-function gnome_config_private_get_real_path(path : pchar) : pchar;
|
|
|
|
|
|
+function gnome_config_private_get_real_path(path : PAnsiChar) : PAnsiChar;
|
|
begin
|
|
begin
|
|
gnome_config_private_get_real_path := g_concat_dir_and_file(gnome_user_private_dir, Path);
|
|
gnome_config_private_get_real_path := g_concat_dir_and_file(gnome_user_private_dir, Path);
|
|
end;
|
|
end;
|