Пример #1
0
		public static void GetEntries (string uri, FileInfoOptions options,
					       uint itemsPerNotification, int priority,
					       AsyncDirectoryLoadCallback callback)
		{
			IntPtr handle = IntPtr.Zero;
			AsyncDirectoryLoadCallbackWrapper wrapper = new AsyncDirectoryLoadCallbackWrapper (callback, null);
			gnome_vfs_async_load_directory (out handle, uri, options, itemsPerNotification,
							priority, wrapper.NativeDelegate, IntPtr.Zero);
		}
Пример #2
0
        public static void GetEntries(string uri, FileInfoOptions options,
                                      uint itemsPerNotification, int priority,
                                      AsyncDirectoryLoadCallback callback)
        {
            IntPtr handle = IntPtr.Zero;
            AsyncDirectoryLoadCallbackWrapper wrapper = new AsyncDirectoryLoadCallbackWrapper(callback, null);

            gnome_vfs_async_load_directory(out handle, uri, options, itemsPerNotification,
                                           priority, wrapper.NativeDelegate, IntPtr.Zero);
        }