GtkSharp/gnomevfs/VolumeMonitor.custom
Mike Kestner 7f3171c814 merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD
is now tracking Gnome 2.6.

svn path=/trunk/gtk-sharp/; revision=35479
2004-10-29 20:33:07 +00:00

22 lines
553 B
Plaintext

//
// Gnome.Vfs.VolumeMonitor.custom - Gnome Vfs VolumeMonitor class customizations
//
// Author: Jeroen Zwartepoorte (jeroen@xs4all.nl)
//
// Copyright (C) 2004 Jeroen Zwartepoorte
//
// This code is inserted after the automatically generated code.
//
[DllImport("gnomevfs-2")]
static extern IntPtr gnome_vfs_get_volume_monitor ();
public static VolumeMonitor Get ()
{
IntPtr raw_ret = gnome_vfs_get_volume_monitor ();
if (raw_ret == IntPtr.Zero)
return null;
else
return (VolumeMonitor) GLib.Object.GetObject (raw_ret);
}