2002-10-19 23:18:59 +00:00
|
|
|
// GLib.Source.cs - Source class implementation
|
|
|
|
//
|
|
|
|
// Author: Duncan Mak <duncan@ximian.com>
|
|
|
|
//
|
|
|
|
// (c) 2002 Mike Kestner
|
|
|
|
|
|
|
|
namespace GLib {
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
public class Source {
|
2003-11-28 05:29:34 +00:00
|
|
|
private Source () {}
|
2002-10-19 23:18:59 +00:00
|
|
|
|
2003-02-22 04:34:56 +00:00
|
|
|
[DllImport("libglib-2.0-0.dll")]
|
2002-10-19 23:18:59 +00:00
|
|
|
static extern bool g_source_remove (uint tag);
|
|
|
|
|
|
|
|
public static bool Remove (uint tag)
|
|
|
|
{
|
|
|
|
return g_source_remove (tag);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|