Ejemplo n.º 1
0
        public static Gnome.Vfs.Result Uri(Gnome.Vfs.Handle handle, Gnome.Vfs.Uri uri, Gnome.Vfs.OpenMode open_mode)
        {
            int raw_ret = gnome_vfs_open_uri(handle == null ? IntPtr.Zero : handle.Handle, uri == null ? IntPtr.Zero : uri.Handle, (int)open_mode);

            Gnome.Vfs.Result ret = (Gnome.Vfs.Result)raw_ret;
            return(ret);
        }
Ejemplo n.º 2
0
        public static Gnome.Vfs.Result UriCancellable(Gnome.Vfs.Handle handle, Gnome.Vfs.Uri uri, Gnome.Vfs.OpenMode open_mode, Gnome.Vfs.Context context)
        {
            int raw_ret = gnome_vfs_open_uri_cancellable(handle == null ? IntPtr.Zero : handle.Handle, uri == null ? IntPtr.Zero : uri.Handle, (int)open_mode, context == null ? IntPtr.Zero : context.Handle);

            Gnome.Vfs.Result ret = (Gnome.Vfs.Result)raw_ret;
            return(ret);
        }
Ejemplo n.º 3
0
        public static Gnome.Vfs.Result Uri(Gnome.Vfs.Handle handle, Gnome.Vfs.Uri uri, Gnome.Vfs.OpenMode open_mode, bool exclusive, uint perm)
        {
            int raw_ret = gnome_vfs_create_uri(handle == null ? IntPtr.Zero : handle.Handle, uri == null ? IntPtr.Zero : uri.Handle, (int)open_mode, exclusive, perm);

            Gnome.Vfs.Result ret = (Gnome.Vfs.Result)raw_ret;
            return(ret);
        }