public Result Add (string uri, MonitorType type)
		{
			handle = IntPtr.Zero;
			if (wrapper == null)
				wrapper = new MonitorCallbackWrapper (new MonitorCallback (OnMonitorEvent), null);
			Result result = gnome_vfs_monitor_add (out handle, uri, type, wrapper.NativeDelegate, IntPtr.Zero);
			return result;
		}
Exemple #2
0
        public Result Add(string uri, MonitorType type)
        {
            handle = IntPtr.Zero;
            if (wrapper == null)
            {
                wrapper = new MonitorCallbackWrapper(new MonitorCallback(OnMonitorEvent), null);
            }
            Result result = gnome_vfs_monitor_add(out handle, uri, type, wrapper.NativeDelegate, IntPtr.Zero);

            return(result);
        }