mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-28 15:05:34 +00:00
32aa6d0788
* sample/gnomevfs/*.cs : s/Test.Gnome.VFS/TestGnomeVfs to avoid namespace collision problems with current mcs. svn path=/trunk/gtk-sharp/; revision=38788
24 lines
454 B
C#
24 lines
454 B
C#
using Gnome.Vfs;
|
|
using System;
|
|
|
|
namespace TestGnomeVfs {
|
|
public class TestUnlink {
|
|
static void Main (string[] args)
|
|
{
|
|
if (args.Length != 1) {
|
|
Console.WriteLine ("Usage: TestUnlink <uri>");
|
|
return;
|
|
}
|
|
|
|
Gnome.Vfs.Vfs.Initialize ();
|
|
|
|
Gnome.Vfs.Uri uri = new Gnome.Vfs.Uri (args[0]);
|
|
Result result = uri.Unlink ();
|
|
|
|
Console.WriteLine ("result unlink ('{0}') = {1}", uri, result);
|
|
|
|
Gnome.Vfs.Vfs.Shutdown ();
|
|
}
|
|
}
|
|
}
|