Example #1
0
		public static Handle Create (string uri, OpenMode mode, bool exclusive, FilePermissions perm, int priority, AsyncCallback callback)
		{
			IntPtr handle = IntPtr.Zero;
			AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null);
			gnome_vfs_async_create (out handle, uri, mode, exclusive, (uint)perm, priority, wrapper.NativeDelegate, IntPtr.Zero);
			return new Handle (handle);
		}
Example #2
0
		public static Handle Open (string uri, OpenMode mode, int priority, AsyncCallback callback)
		{
			IntPtr handle = IntPtr.Zero;
			AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null);
			gnome_vfs_async_open (out handle, uri, mode, priority, wrapper.NativeDelegate, IntPtr.Zero);
			return new Handle (handle);
		}
Example #3
0
        public static Handle Open(string uri, OpenMode mode, int priority, AsyncCallback callback)
        {
            IntPtr handle = IntPtr.Zero;
            AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null);

            gnome_vfs_async_open(out handle, uri, mode, priority, wrapper.NativeDelegate, IntPtr.Zero);
            return(new Handle(handle));
        }
Example #4
0
        public static Handle Create(string uri, OpenMode mode, bool exclusive, FilePermissions perm, int priority, AsyncCallback callback)
        {
            IntPtr handle = IntPtr.Zero;
            AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null);

            gnome_vfs_async_create(out handle, uri, mode, exclusive, (uint)perm, priority, wrapper.NativeDelegate, IntPtr.Zero);
            return(new Handle(handle));
        }
Example #5
0
		public static void Seek (Handle handle, SeekPosition whence, long offset, AsyncCallback callback)
		{
			AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null);
			gnome_vfs_async_seek (handle.Handle, whence, offset, wrapper.NativeDelegate, IntPtr.Zero);
		}
Example #6
0
		public static void Close (Handle handle, AsyncCallback callback)
		{
			AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null);
			gnome_vfs_async_close (handle.Handle, wrapper.NativeDelegate, IntPtr.Zero);
		}
Example #7
0
        public static void Close(Handle handle, AsyncCallback callback)
        {
            AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null);

            gnome_vfs_async_close(handle.Handle, wrapper.NativeDelegate, IntPtr.Zero);
        }
Example #8
0
        public static void Seek(Handle handle, SeekPosition whence, long offset, AsyncCallback callback)
        {
            AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null);

            gnome_vfs_async_seek(handle.Handle, whence, offset, wrapper.NativeDelegate, IntPtr.Zero);
        }