Improve output for owned property getters
[vala-lang.git] / vapi / libgnome-2.0.vapi
blob62ebc9b984d468625c3957125ffeff00d69e71b0
1 /* libgnome-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gnome", lower_case_cprefix = "gnome_")]
4 namespace Gnome {
5         [Compact]
6         [CCode (cheader_filename = "libgnome/libgnome.h")]
7         public class ModuleInfo {
8                 public weak Gnome.ModuleClassInitHook class_init;
9                 public weak string description;
10                 public weak Gnome.ModuleGetGOptionGroupFunc get_goption_group_func;
11                 public weak Gnome.ModuleInitHook init_pass;
12                 public weak Gnome.ModuleHook instance_init;
13                 public weak string name;
14                 public weak string opt_prefix;
15                 public weak Gnome.ModuleHook post_args_parse;
16                 public weak Gnome.ModuleHook pre_args_parse;
17                 public weak Gnome.ModuleRequirement requirements;
18                 public weak string version;
19         }
20         [Compact]
21         [CCode (cheader_filename = "libgnome/libgnome.h")]
22         public class ModuleRequirement {
23                 public weak Gnome.ModuleInfo module_info;
24                 public weak string required_version;
25         }
26         [CCode (cheader_filename = "libgnome/libgnome.h")]
27         public class Program : GLib.Object {
28                 public static unowned Gnome.Program get ();
29                 public unowned string get_app_id ();
30                 public unowned string get_app_version ();
31                 public unowned string get_human_readable_name ();
32                 public static unowned Gnome.Program init (string app_id, string app_version, Gnome.ModuleInfo module_info, [CCode (array_length_pos = 3.9)] string[] argv, ...);
33                 public static unowned Gnome.Program init_paramv (GLib.Type type, string app_id, string app_version, Gnome.ModuleInfo module_info, [CCode (array_length_pos = 4.9)] string[] argv, uint nparams, GLib.Parameter params);
34                 public static unowned Gnome.Program initv (GLib.Type type, string app_id, string app_version, Gnome.ModuleInfo module_info, [CCode (array_length_pos = 4.9)] string[] argv, string first_property_name, void* args);
35                 public class uint install_property (GLib.ObjectGetPropertyFunc get_fn, GLib.ObjectSetPropertyFunc set_fn, GLib.ParamSpec pspec);
36                 public unowned string locate_file (Gnome.FileDomain domain, string file_name, bool only_if_exists, GLib.SList ret_locations);
37                 public static unowned Gnome.ModuleInfo module_load (string mod_name);
38                 public static void module_register (Gnome.ModuleInfo module_info);
39                 public static bool module_registered (Gnome.ModuleInfo module_info);
40                 [NoAccessorMethod]
41                 public string app_datadir { owned get; set; }
42                 public string app_id { get; }
43                 [NoAccessorMethod]
44                 public string app_libdir { owned get; set; }
45                 [NoAccessorMethod]
46                 public string app_prefix { owned get; set; }
47                 [NoAccessorMethod]
48                 public string app_sysconfdir { owned get; set; }
49                 public string app_version { get; }
50                 [NoAccessorMethod]
51                 public bool create_directories { get; construct; }
52                 [NoAccessorMethod]
53                 public bool enable_sound { get; set; }
54                 [NoAccessorMethod]
55                 public string espeaker { owned get; set; }
56                 [NoAccessorMethod]
57                 public string gnome_datadir { owned get; construct; }
58                 [NoAccessorMethod]
59                 public string gnome_libdir { owned get; construct; }
60                 [NoAccessorMethod]
61                 public string gnome_path { owned get; construct; }
62                 [NoAccessorMethod]
63                 public string gnome_prefix { owned get; construct; }
64                 [NoAccessorMethod]
65                 public string gnome_sysconfdir { owned get; construct; }
66                 [NoAccessorMethod]
67                 public void* goption_context { get; construct; }
68                 [NoAccessorMethod]
69                 public string human_readable_name { get; construct; }
70                 [NoAccessorMethod]
71                 public void* popt_context { get; }
72                 [NoAccessorMethod]
73                 public int popt_flags { construct; }
74                 [NoAccessorMethod]
75                 public void* popt_table { construct; }
76         }
77         [Compact]
78         [CCode (cheader_filename = "libgnome/libgnome.h")]
79         public class Trigger {
80                 public weak string level;
81                 public Gnome.TriggerType type;
82                 public void* u;
83         }
84         [CCode (cprefix = "GNOME_FILE_DOMAIN_", has_type_id = "0", cheader_filename = "libgnome/libgnome.h")]
85         public enum FileDomain {
86                 UNKNOWN,
87                 LIBDIR,
88                 DATADIR,
89                 SOUND,
90                 PIXMAP,
91                 CONFIG,
92                 HELP,
93                 APP_LIBDIR,
94                 APP_DATADIR,
95                 APP_SOUND,
96                 APP_PIXMAP,
97                 APP_CONFIG,
98                 APP_HELP
99         }
100         [CCode (cprefix = "GNOME_HELP_ERROR_", has_type_id = "0", cheader_filename = "libgnome/libgnome.h")]
101         public enum HelpError {
102                 INTERNAL,
103                 NOT_FOUND
104         }
105         [CCode (cprefix = "GTRIG_", has_type_id = "0", cheader_filename = "libgnome/libgnome.h")]
106         public enum TriggerType {
107                 NONE,
108                 FUNCTION,
109                 COMMAND,
110                 MEDIAPLAY
111         }
112         [CCode (cprefix = "GNOME_URL_ERROR_", has_type_id = "0", cheader_filename = "libgnome/libgnome.h")]
113         public enum URLError {
114                 PARSE,
115                 LAUNCH,
116                 URL,
117                 NO_DEFAULT,
118                 NOT_SUPPORTED,
119                 VFS,
120                 CANCELLED
121         }
122         [CCode (cheader_filename = "libgnome/libgnome.h")]
123         public static delegate void ModuleClassInitHook (void* klass, Gnome.ModuleInfo mod_info);
124         [CCode (cheader_filename = "libgnome/libgnome.h")]
125         public static delegate unowned GLib.OptionGroup ModuleGetGOptionGroupFunc ();
126         [CCode (cheader_filename = "libgnome/libgnome.h")]
127         public static delegate void ModuleHook (Gnome.Program program, Gnome.ModuleInfo mod_info);
128         [CCode (cheader_filename = "libgnome/libgnome.h")]
129         public static delegate void ModuleInitHook (Gnome.ModuleInfo mod_info);
130         [CCode (cheader_filename = "libgnome/libgnome.h")]
131         public static delegate void TriggerActionFunction (string msg, string level, string[] supinfo);
132         [CCode (cheader_filename = "libgnome/libgnome.h")]
133         public const string DOT_GNOME;
134         [CCode (cheader_filename = "libgnome/libgnome.h")]
135         public const string DOT_GNOME_PRIVATE;
136         [CCode (cheader_filename = "libgnome/libgnome.h")]
137         public const string PARAM_APP_DATADIR;
138         [CCode (cheader_filename = "libgnome/libgnome.h")]
139         public const string PARAM_APP_ID;
140         [CCode (cheader_filename = "libgnome/libgnome.h")]
141         public const string PARAM_APP_LIBDIR;
142         [CCode (cheader_filename = "libgnome/libgnome.h")]
143         public const string PARAM_APP_PREFIX;
144         [CCode (cheader_filename = "libgnome/libgnome.h")]
145         public const string PARAM_APP_SYSCONFDIR;
146         [CCode (cheader_filename = "libgnome/libgnome.h")]
147         public const string PARAM_APP_VERSION;
148         [CCode (cheader_filename = "libgnome/libgnome.h")]
149         public const string PARAM_CREATE_DIRECTORIES;
150         [CCode (cheader_filename = "libgnome/libgnome.h")]
151         public const string PARAM_ENABLE_SOUND;
152         [CCode (cheader_filename = "libgnome/libgnome.h")]
153         public const string PARAM_ESPEAKER;
154         [CCode (cheader_filename = "libgnome/libgnome.h")]
155         public const string PARAM_GNOME_DATADIR;
156         [CCode (cheader_filename = "libgnome/libgnome.h")]
157         public const string PARAM_GNOME_LIBDIR;
158         [CCode (cheader_filename = "libgnome/libgnome.h")]
159         public const string PARAM_GNOME_PATH;
160         [CCode (cheader_filename = "libgnome/libgnome.h")]
161         public const string PARAM_GNOME_PREFIX;
162         [CCode (cheader_filename = "libgnome/libgnome.h")]
163         public const string PARAM_GNOME_SYSCONFDIR;
164         [CCode (cheader_filename = "libgnome/libgnome.h")]
165         public const string PARAM_GOPTION_CONTEXT;
166         [CCode (cheader_filename = "libgnome/libgnome.h")]
167         public const string PARAM_HUMAN_READABLE_NAME;
168         [CCode (cheader_filename = "libgnome/libgnome.h")]
169         public const string PARAM_POPT_CONTEXT;
170         [CCode (cheader_filename = "libgnome/libgnome.h")]
171         public const string PARAM_POPT_FLAGS;
172         [CCode (cheader_filename = "libgnome/libgnome.h")]
173         public const string PARAM_POPT_TABLE;
174         [CCode (cheader_filename = "libgnome/libgnome.h")]
175         public static unowned Gnome.ModuleInfo bonobo_module_info_get ();
176         [CCode (cheader_filename = "libgnome/libgnome.h")]
177         public static void clearenv ();
178         [CCode (cheader_filename = "libgnome/libgnome.h")]
179         public static int execute_async (string dir, int argc, string[] argv);
180         [CCode (cheader_filename = "libgnome/libgnome.h")]
181         public static int execute_async_fds (string dir, int argc, string[] argv, bool close_fds);
182         [CCode (cheader_filename = "libgnome/libgnome.h")]
183         public static int execute_async_with_env (string dir, int argc, string[] argv, int envc, string[] envv);
184         [CCode (cheader_filename = "libgnome/libgnome.h")]
185         public static int execute_async_with_env_fds (string dir, int argc, string[] argv, int envc, string[] envv, bool close_fds);
186         [CCode (cheader_filename = "libgnome/libgnome.h")]
187         public static int execute_shell (string dir, string commandline);
188         [CCode (cheader_filename = "libgnome/libgnome.h")]
189         public static int execute_shell_fds (string dir, string commandline, bool close_fds);
190         [CCode (cheader_filename = "libgnome/libgnome.h")]
191         public static int execute_terminal_shell (string dir, string commandline);
192         [CCode (cheader_filename = "libgnome/libgnome.h")]
193         public static int execute_terminal_shell_fds (string dir, string commandline, bool close_fds);
194         [CCode (cname = "g_extension_pointer", cheader_filename = "libgnome/libgnome.h")]
195         public static unowned string g_extension_pointer (string path);
196         [CCode (cheader_filename = "libgnome/libgnome.h")]
197         public static unowned string gconf_get_app_settings_relative (Gnome.Program program, string subkey);
198         [CCode (cheader_filename = "libgnome/libgnome.h")]
199         public static unowned string gconf_get_gnome_libs_settings_relative (string subkey);
200         [CCode (cheader_filename = "libgnome/libgnome.h")]
201         public static bool help_display (string file_name, string link_id) throws GLib.Error;
202         [CCode (cheader_filename = "libgnome/libgnome.h")]
203         public static bool help_display_desktop (Gnome.Program program, string doc_id, string file_name, string link_id) throws GLib.Error;
204         [CCode (cheader_filename = "libgnome/libgnome.h")]
205         public static bool help_display_desktop_with_env (Gnome.Program program, string doc_id, string file_name, string link_id, out unowned string envp) throws GLib.Error;
206         [CCode (cheader_filename = "libgnome/libgnome.h")]
207         public static bool help_display_uri (string help_uri) throws GLib.Error;
208         [CCode (cheader_filename = "libgnome/libgnome.h")]
209         public static bool help_display_uri_with_env (string help_uri, out unowned string envp) throws GLib.Error;
210         [CCode (cheader_filename = "libgnome/libgnome.h")]
211         public static bool help_display_with_doc_id (Gnome.Program program, string doc_id, string file_name, string link_id) throws GLib.Error;
212         [CCode (cheader_filename = "libgnome/libgnome.h")]
213         public static bool help_display_with_doc_id_and_env (Gnome.Program program, string doc_id, string file_name, string link_id, out unowned string envp) throws GLib.Error;
214         [CCode (cheader_filename = "libgnome/libgnome.h")]
215         public static GLib.Quark help_error_quark ();
216         [CCode (cname = "libgnome_module_info_get", cheader_filename = "libgnome/libgnome.h")]
217         public static unowned Gnome.ModuleInfo libgnome_module_info_get ();
218         [CCode (cheader_filename = "libgnome/libgnome.h")]
219         public static void prepend_terminal_to_vector (int argc, out unowned string argv);
220         [CCode (cheader_filename = "libgnome/libgnome.h")]
221         public static int setenv (string name, string value, bool overwrite);
222         [CCode (cheader_filename = "libgnome/libgnome.h")]
223         public static int sound_connection_get ();
224         [CCode (cheader_filename = "libgnome/libgnome.h")]
225         public static void sound_init (string hostname);
226         [CCode (cheader_filename = "libgnome/libgnome.h")]
227         public static void sound_play (string filename);
228         [CCode (cheader_filename = "libgnome/libgnome.h")]
229         public static int sound_sample_load (string sample_name, string filename);
230         [CCode (cheader_filename = "libgnome/libgnome.h")]
231         public static void sound_shutdown ();
232         [CCode (cheader_filename = "libgnome/libgnome.h")]
233         public static void triggers_add_trigger (Gnome.Trigger nt);
234         [CCode (cheader_filename = "libgnome/libgnome.h")]
235         public static void triggers_do (string msg, string level);
236         [CCode (cheader_filename = "libgnome/libgnome.h")]
237         public static void triggers_vadd_trigger (Gnome.Trigger nt, string[] supinfo);
238         [CCode (cheader_filename = "libgnome/libgnome.h")]
239         public static void triggers_vdo (string msg, string level, string[] supinfo);
240         [CCode (cheader_filename = "libgnome/libgnome.h")]
241         public static void unsetenv (string name);
242         [CCode (cheader_filename = "libgnome/libgnome.h")]
243         public static GLib.Quark url_error_quark ();
244         [CCode (cheader_filename = "libgnome/libgnome.h")]
245         public static bool url_show (string url) throws GLib.Error;
246         [CCode (cheader_filename = "libgnome/libgnome.h")]
247         public static bool url_show_with_env (string url, out unowned string envp) throws GLib.Error;
248         [CCode (cheader_filename = "libgnome/libgnome.h")]
249         public static unowned string user_accels_dir_get ();
250         [CCode (cheader_filename = "libgnome/libgnome.h")]
251         public static unowned string user_dir_get ();
252         [CCode (cheader_filename = "libgnome/libgnome.h")]
253         public static unowned string user_private_dir_get ();
254         [CCode (cheader_filename = "libgnome/libgnome.h")]
255         public static unowned string util_user_shell ();