~ubuntu-branches/ubuntu/quantal/vala/quantal

« back to all changes in this revision

Viewing changes to vapi/gio-unix-2.0.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-01-18 09:51:15 UTC
  • mfrom: (1.5.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110118095115-r2jr7c63lr0jzj0y
Tags: 0.11.4-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
                public DesktopAppInfo.from_keyfile (GLib.KeyFile key_file);
13
13
                public unowned string get_filename ();
14
14
                public bool get_is_hidden ();
 
15
                public bool launch_uris_as_manager (GLib.List uris, GLib.AppLaunchContext launch_context, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc user_setup, void* user_setup_data, GLib.DesktopAppLaunchCallback pid_callback, void* pid_callback_data) throws GLib.Error;
15
16
                public static void set_desktop_env (string desktop_env);
16
17
        }
17
18
        [CCode (cheader_filename = "gio/gunixconnection.h")]
35
36
                public GLib.UnixFDList fd_list { get; construct; }
36
37
        }
37
38
        [CCode (cheader_filename = "gio/gunixinputstream.h")]
38
 
        public class UnixInputStream : GLib.InputStream {
 
39
        public class UnixInputStream : GLib.InputStream, GLib.PollableInputStream {
39
40
                [CCode (type = "GInputStream*", has_construct_function = false)]
40
41
                public UnixInputStream (int fd, bool close_fd);
41
42
                public bool get_close_fd ();
99
100
                public bool is_user_mountable ();
100
101
        }
101
102
        [CCode (cheader_filename = "gio/gunixoutputstream.h")]
102
 
        public class UnixOutputStream : GLib.OutputStream {
 
103
        public class UnixOutputStream : GLib.OutputStream, GLib.PollableOutputStream {
103
104
                [CCode (type = "GOutputStream*", has_construct_function = false)]
104
105
                public UnixOutputStream (int fd, bool close_fd);
105
106
                public bool get_close_fd ();
128
129
                [NoAccessorMethod]
129
130
                public GLib.ByteArray path_as_array { owned get; construct; }
130
131
        }
 
132
        [CCode (cheader_filename = "gio/gunixmounts.h")]
 
133
        public interface DesktopAppInfoLookup : GLib.Object {
 
134
                public abstract unowned GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
 
135
        }
131
136
        [CCode (cheader_filename = "gio/gfiledescriptorbased.h")]
132
137
        public interface FileDescriptorBased : GLib.Object {
133
138
                public abstract int get_fd ();
134
139
        }
 
140
        [CCode (cheader_filename = "gio/gunixmounts.h")]
 
141
        public delegate void DesktopAppLaunchCallback (GLib.DesktopAppInfo appinfo, GLib.Pid pid);
 
142
        [CCode (cheader_filename = "gio/gunixmounts.h")]
 
143
        public const string DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME;
135
144
        [CCode (cname = "g_unix_is_mount_path_system_internal", cheader_filename = "gio/gunixmounts.h")]
136
145
        public static bool is_mount_path_system_internal (string mount_path);
137
146
        [CCode (cname = "g_unix_mount_points_changed_since", cheader_filename = "gio/gunixmounts.h")]