mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
2004-11-05 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/*.cs: Add copyright/LGPL header. * gnomevfs/*.custom: Idem. * gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs. * gnomevfs/MimeActionType.cs: Obsolete, generated now. * gnomevfs/OpenMode.cs: Idem. * gnomevfs/Result.cs: Idem. * gnomevfs/SeekPosition.cs: Idem. svn path=/trunk/gtk-sharp/; revision=35707
This commit is contained in:
parent
df41dcc177
commit
3c8715f2e8
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2004-11-05 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
|
||||
* gnomevfs/*.cs: Add copyright/LGPL header.
|
||||
* gnomevfs/*.custom: Idem.
|
||||
* gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs.
|
||||
* gnomevfs/MimeActionType.cs: Obsolete, generated now.
|
||||
* gnomevfs/OpenMode.cs: Idem.
|
||||
* gnomevfs/Result.cs: Idem.
|
||||
* gnomevfs/SeekPosition.cs: Idem.
|
||||
|
||||
2004-11-05 Dan Winship <danw@novell.com>
|
||||
|
||||
* parser/gapi2xml.pl (parseInitFunc, addPropElem): handle
|
||||
|
@ -1,11 +1,22 @@
|
||||
// Async.cs - Bindings for gnome-vfs asynchronized file operations.
|
||||
//
|
||||
// Async.cs: Bindings for gnome-vfs asynchronized functions calls.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// AsyncCallback.cs - GnomeVFSAsyncCallback delegate.
|
||||
//
|
||||
// AsyncCallback.cs: GnomeVFSAsyncCallback delegate.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public delegate void AsyncCallback (Handle handle, Result result);
|
||||
|
@ -1,11 +1,22 @@
|
||||
// AsyncCallbackNative.cs - GnomeVFSAsyncCallback native wrapper.
|
||||
//
|
||||
// AsyncCallbackNative.cs: Native wrapper for GnomeVFSAsyncCallback.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
|
||||
|
@ -1,11 +1,22 @@
|
||||
// AsyncDirectoryLoadCallback.cs - GnomeVFSAsyncDirectoryLoadCallback delegate.
|
||||
//
|
||||
// VfsAsyncDirectoryLoadCallback.cs: GnomeVFSAsyncDirectoryLoadCallback delegate.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
|
||||
|
@ -1,11 +1,23 @@
|
||||
// AsyncDirectoryLoadCallbackNative.cs - GnomeVFSAsyncDirectoryLoadCallback
|
||||
// native wrapper.
|
||||
//
|
||||
// VfsAsyncDirectoryLoadCallbackNative.cs: Utility class for accessing gnome-vfs methods.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// AsyncReadCallback.cs - GnomeVFSAsyncReadCallback delegate.
|
||||
//
|
||||
// VfsAsyncReadCallback.cs: GnomeVFSAsyncReadCallback delegate.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
|
||||
|
@ -1,3 +1,22 @@
|
||||
// AsyncReadCallbackNative.cs - GnomeVFSAsyncReadCallback native wrapper.
|
||||
//
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
//
|
||||
// VfsAsyncReadCallbackNative.cs: Utility class for accessing gnome-vfs methods.
|
||||
//
|
||||
|
@ -1,11 +1,22 @@
|
||||
// AsyncWriteCallback.cs - GnomeVFSAsyncWriteCallback delegate.
|
||||
//
|
||||
// VfsAsyncWriteCallback.cs: GnomeVFSAsyncWriteCallback delegate.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public delegate void AsyncWriteCallback (Handle handle, Result result, byte[] buffer, ulong bytes_requested, ulong bytes_written);
|
||||
|
@ -1,11 +1,22 @@
|
||||
// AsyncWriteCallbackNative.cs - Native wrapper for GnomeVFSAsyncWriteCallback.
|
||||
//
|
||||
// AsyncWriteCallbackNative.cs: Native wrapper for GnomeVFSAsyncWriteCallback.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// Directory.cs - Bindings for gnome-vfs directory functions calls.
|
||||
//
|
||||
// Directory.cs: Bindings for gnome-vfs directory functions calls.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// FileInfo.cs - Class wrapping the GnomeVFSFileInfo struct.
|
||||
//
|
||||
// FileInfo.cs: Class wrapping the GnomeVFSFileInfo struct.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// Handle.cs - Wrapper class for GnomeVFSHandle.
|
||||
//
|
||||
// Handle.cs: Wrapper class for GnomeVFSHandle struct.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
|
||||
|
@ -1,85 +0,0 @@
|
||||
//
|
||||
// Mime.cs: Mime-type method bindings.
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public class Mime {
|
||||
public static string UnknownMimeType {
|
||||
get {
|
||||
return "application/octet-stream";
|
||||
}
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
private static extern Result gnome_vfs_mime_add_extension (string mime_type, string extension);
|
||||
|
||||
public static Result AddExtension (string mime_type, string extension)
|
||||
{
|
||||
return gnome_vfs_mime_add_extension (mime_type, extension);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
private static extern Result gnome_vfs_mime_remove_extension (string mime_type, string extension);
|
||||
|
||||
public static Result RemoveExtension (string mime_type, string extension)
|
||||
{
|
||||
return gnome_vfs_mime_remove_extension (mime_type, extension);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
private static extern string gnome_vfs_get_mime_type (string uri);
|
||||
|
||||
public static string GetMimeType (string uri)
|
||||
{
|
||||
return gnome_vfs_get_mime_type (uri);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
private static extern string gnome_vfs_get_mime_type_for_data (string data, int length);
|
||||
|
||||
public static string GetMimeTypeForData (string data, int length)
|
||||
{
|
||||
return gnome_vfs_get_mime_type_for_data (data, length);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
private static extern string gnome_vfs_mime_get_icon (string mime_type);
|
||||
|
||||
public static string GetIcon (string mime_type)
|
||||
{
|
||||
return gnome_vfs_mime_get_icon (mime_type);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
private static extern string gnome_vfs_mime_get_description (string mime_type);
|
||||
|
||||
public static string GetDescription (string mime_type)
|
||||
{
|
||||
return gnome_vfs_mime_get_description (mime_type);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
static extern bool gnome_vfs_mime_can_be_executable (string mime_type);
|
||||
|
||||
public static bool IsExecutable (string mime_type)
|
||||
{
|
||||
return gnome_vfs_mime_can_be_executable (mime_type);
|
||||
}
|
||||
|
||||
[DllImport ("gnomevfs-2")]
|
||||
static extern bool gnome_vfs_mime_type_is_known (string mime_type);
|
||||
|
||||
public static bool IsKnown (string mime_type)
|
||||
{
|
||||
return gnome_vfs_mime_type_is_known (mime_type);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
//
|
||||
// MimeActionType.cs: GnomeVFSMimeActionType enum.
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
//
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public enum MimeActionType {
|
||||
None,
|
||||
Application,
|
||||
Component
|
||||
}
|
||||
}
|
@ -1,11 +1,22 @@
|
||||
// MimeType.cs - Mime-type bindings.
|
||||
//
|
||||
// Mime.cs: Mime-type method bindings.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// Monitor.cs - gnome_vfs_monitor_* bindings.
|
||||
//
|
||||
// Monitor.cs: Class wrapping the gnome_vfs_monitor_* methods.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -1,17 +0,0 @@
|
||||
//
|
||||
// OpenMode.cs: GnomeVFSOpenMode enum.
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
//
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public enum OpenMode {
|
||||
None = 0,
|
||||
Read = 1 << 0,
|
||||
Write = 1 << 1,
|
||||
Random = 1 << 2
|
||||
}
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
//
|
||||
// Result.cs: GnomeVFSResult enum.
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
//
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public enum Result {
|
||||
Ok,
|
||||
NotFound,
|
||||
Generic,
|
||||
Internal,
|
||||
BadParameters,
|
||||
NotSupported,
|
||||
Io,
|
||||
CorruptedData,
|
||||
WrongFormat,
|
||||
BadFile,
|
||||
TooBig,
|
||||
NoSpace,
|
||||
ReadOnly,
|
||||
InvalidUri,
|
||||
NotOpen,
|
||||
InvalidOpenMode,
|
||||
AccessDenied,
|
||||
TooManyOpenFiles,
|
||||
Eof,
|
||||
NotADirectory,
|
||||
InProgress,
|
||||
Interrupted,
|
||||
FileExists,
|
||||
Loop,
|
||||
NotPermitted,
|
||||
IsDirectory,
|
||||
NoMemory,
|
||||
HostNotFound,
|
||||
InvalidHostName,
|
||||
HostHasNoAddress,
|
||||
LoginFailed,
|
||||
Cancelled,
|
||||
DirectoryBusy,
|
||||
DirectoryNotEmpty,
|
||||
TooManyLinks,
|
||||
ReadOnlyFileSystem,
|
||||
NotSameFileSystem,
|
||||
NameTooLong,
|
||||
ServiceNotAvailable,
|
||||
ServiceObsolete,
|
||||
ProtocolError,
|
||||
NoMasterBrowser,
|
||||
NoDefault,
|
||||
NoHandler,
|
||||
Parse,
|
||||
Launch,
|
||||
NumErrors
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
//
|
||||
// SeekPosition.cs: GnomeVFSSeekPosition enum.
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
//
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public enum SeekPosition {
|
||||
Start,
|
||||
Current,
|
||||
End
|
||||
}
|
||||
}
|
@ -1,11 +1,22 @@
|
||||
// Sync.cs - Bindings for gnome-vfs synchronized file operations.
|
||||
//
|
||||
// Sync.cs: Bindings for gnome-vfs synchronized functions calls.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
@ -1,12 +1,22 @@
|
||||
// Uri.custom - Uri class customizations.
|
||||
//
|
||||
// Gnome.Vfs.Uri.custom - Gnome Vfs Uri class customizations
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author: Jeroen Zwartepoorte (jeroen@xs4all.nl)
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// Copyright (C) 2004 Jeroen Zwartepoorte
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This code is inserted after the automatically generated code.
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
public MimeType MimeType {
|
||||
get {
|
||||
|
@ -1,11 +1,22 @@
|
||||
// Vfs.cs - Generic gnome-vfs method bindings.
|
||||
//
|
||||
// Vfs.cs: Bindings for gnome-vfs.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// VfsStream.cs - System.IO.Stream wrapper around gnome-vfs.
|
||||
//
|
||||
// VfsStream.cs: System.IO.Stream wrapper around gnome-vfs.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using GLib;
|
||||
using System;
|
||||
|
@ -1,3 +1,23 @@
|
||||
// VfsStreamAsyncResult.cs - IAsyncResult implementation for VfsStream.
|
||||
//
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
|
@ -1,12 +1,22 @@
|
||||
// VolumeMonitor.custom - VolumeMonitor class customizations.
|
||||
//
|
||||
// Gnome.Vfs.VolumeMonitor.custom - Gnome Vfs VolumeMonitor class customizations
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author: Jeroen Zwartepoorte (jeroen@xs4all.nl)
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// Copyright (C) 2004 Jeroen Zwartepoorte
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This code is inserted after the automatically generated code.
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
[DllImport("gnomevfs-2")]
|
||||
static extern IntPtr gnome_vfs_get_volume_monitor ();
|
||||
|
@ -1,11 +1,22 @@
|
||||
// Xfer.cs - Bindings for gnome_vfs_xfer_* methods.
|
||||
//
|
||||
// Xfer.cs: Bindings for gnome_vfs_xfer_* methods.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
|
@ -1,11 +1,22 @@
|
||||
// XferProgressCallback.cs - GnomeVFSXferProgressCallback delegate.
|
||||
//
|
||||
// XferProgressCallback.cs: GnomeVFSXferProgressCallback delegate.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
namespace Gnome.Vfs {
|
||||
public delegate int XferProgressCallback (XferProgressInfo info);
|
||||
|
@ -1,11 +1,22 @@
|
||||
// XferProgressCallbackNative.cs - GnomeVFSXferProgressCallback wrapper.
|
||||
//
|
||||
// XferProgressCallbackNative.cs: Native wrapper for GnomeVFSXferProgressCallback.
|
||||
// Authors: Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
//
|
||||
// Author:
|
||||
// Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||
// Copyright (c) 2004 Jeroen Zwartepoorte
|
||||
//
|
||||
// (C) Copyright Jeroen Zwartepoorte 2004
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of version 2 of the Lesser GNU General
|
||||
// Public License as published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this program; if not, write to the
|
||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
// Boston, MA 02111-1307, USA.
|
||||
|
||||
using System;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user