diff --git a/ChangeLog b/ChangeLog index d0cd61a55..ec272bd11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-11-05 Jeroen Zwartepoorte + + * 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 * parser/gapi2xml.pl (parseInitFunc, addPropElem): handle diff --git a/gnomevfs/Async.cs b/gnomevfs/Async.cs index 0c29b3f36..5e5624afd 100644 --- a/gnomevfs/Async.cs +++ b/gnomevfs/Async.cs @@ -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 // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/AsyncCallback.cs b/gnomevfs/AsyncCallback.cs index 4c085cb57..503741ca9 100644 --- a/gnomevfs/AsyncCallback.cs +++ b/gnomevfs/AsyncCallback.cs @@ -1,11 +1,22 @@ +// AsyncCallback.cs - GnomeVFSAsyncCallback delegate. // -// AsyncCallback.cs: GnomeVFSAsyncCallback delegate. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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); diff --git a/gnomevfs/AsyncCallbackNative.cs b/gnomevfs/AsyncCallbackNative.cs index 1f4b50e2c..2c9bbe144 100644 --- a/gnomevfs/AsyncCallbackNative.cs +++ b/gnomevfs/AsyncCallbackNative.cs @@ -1,11 +1,22 @@ +// AsyncCallbackNative.cs - GnomeVFSAsyncCallback native wrapper. // -// AsyncCallbackNative.cs: Native wrapper for GnomeVFSAsyncCallback. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/AsyncDirectoryLoadCallback.cs b/gnomevfs/AsyncDirectoryLoadCallback.cs index c29b83742..1f81131a2 100644 --- a/gnomevfs/AsyncDirectoryLoadCallback.cs +++ b/gnomevfs/AsyncDirectoryLoadCallback.cs @@ -1,11 +1,22 @@ +// AsyncDirectoryLoadCallback.cs - GnomeVFSAsyncDirectoryLoadCallback delegate. // -// VfsAsyncDirectoryLoadCallback.cs: GnomeVFSAsyncDirectoryLoadCallback delegate. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/AsyncDirectoryLoadCallbackNative.cs b/gnomevfs/AsyncDirectoryLoadCallbackNative.cs index 71589d5d3..6434ca46d 100644 --- a/gnomevfs/AsyncDirectoryLoadCallbackNative.cs +++ b/gnomevfs/AsyncDirectoryLoadCallbackNative.cs @@ -1,11 +1,23 @@ +// AsyncDirectoryLoadCallbackNative.cs - GnomeVFSAsyncDirectoryLoadCallback +// native wrapper. // -// VfsAsyncDirectoryLoadCallbackNative.cs: Utility class for accessing gnome-vfs methods. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/AsyncReadCallback.cs b/gnomevfs/AsyncReadCallback.cs index a0dd48aa5..57097b9dc 100644 --- a/gnomevfs/AsyncReadCallback.cs +++ b/gnomevfs/AsyncReadCallback.cs @@ -1,11 +1,22 @@ +// AsyncReadCallback.cs - GnomeVFSAsyncReadCallback delegate. // -// VfsAsyncReadCallback.cs: GnomeVFSAsyncReadCallback delegate. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/AsyncReadCallbackNative.cs b/gnomevfs/AsyncReadCallbackNative.cs index bd450df78..f9018ed8e 100644 --- a/gnomevfs/AsyncReadCallbackNative.cs +++ b/gnomevfs/AsyncReadCallbackNative.cs @@ -1,3 +1,22 @@ +// AsyncReadCallbackNative.cs - GnomeVFSAsyncReadCallback native wrapper. +// +// Authors: 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 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. // diff --git a/gnomevfs/AsyncWriteCallback.cs b/gnomevfs/AsyncWriteCallback.cs index 9be105845..959a69a50 100644 --- a/gnomevfs/AsyncWriteCallback.cs +++ b/gnomevfs/AsyncWriteCallback.cs @@ -1,11 +1,22 @@ +// AsyncWriteCallback.cs - GnomeVFSAsyncWriteCallback delegate. // -// VfsAsyncWriteCallback.cs: GnomeVFSAsyncWriteCallback delegate. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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); diff --git a/gnomevfs/AsyncWriteCallbackNative.cs b/gnomevfs/AsyncWriteCallbackNative.cs index 5016b7136..f89fd85be 100644 --- a/gnomevfs/AsyncWriteCallbackNative.cs +++ b/gnomevfs/AsyncWriteCallbackNative.cs @@ -1,11 +1,22 @@ +// AsyncWriteCallbackNative.cs - Native wrapper for GnomeVFSAsyncWriteCallback. // -// AsyncWriteCallbackNative.cs: Native wrapper for GnomeVFSAsyncWriteCallback. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/Directory.cs b/gnomevfs/Directory.cs index 89e617d22..147d25e16 100644 --- a/gnomevfs/Directory.cs +++ b/gnomevfs/Directory.cs @@ -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 // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/FileInfo.cs b/gnomevfs/FileInfo.cs index e77970d58..bd24325d8 100644 --- a/gnomevfs/FileInfo.cs +++ b/gnomevfs/FileInfo.cs @@ -1,11 +1,22 @@ +// FileInfo.cs - Class wrapping the GnomeVFSFileInfo struct. // -// FileInfo.cs: Class wrapping the GnomeVFSFileInfo struct. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/Handle.cs b/gnomevfs/Handle.cs index a7294a24b..dee9aaf4a 100644 --- a/gnomevfs/Handle.cs +++ b/gnomevfs/Handle.cs @@ -1,11 +1,22 @@ +// Handle.cs - Wrapper class for GnomeVFSHandle. // -// Handle.cs: Wrapper class for GnomeVFSHandle struct. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/Mime.cs b/gnomevfs/Mime.cs deleted file mode 100644 index 2fd700aad..000000000 --- a/gnomevfs/Mime.cs +++ /dev/null @@ -1,85 +0,0 @@ -// -// Mime.cs: Mime-type method bindings. -// -// Author: -// Jeroen Zwartepoorte -// -// (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); - } - } -} diff --git a/gnomevfs/MimeActionType.cs b/gnomevfs/MimeActionType.cs deleted file mode 100644 index ac53803a3..000000000 --- a/gnomevfs/MimeActionType.cs +++ /dev/null @@ -1,16 +0,0 @@ -// -// MimeActionType.cs: GnomeVFSMimeActionType enum. -// -// Author: -// Jeroen Zwartepoorte -// -// (C) Copyright Jeroen Zwartepoorte 2004 -// - -namespace Gnome.Vfs { - public enum MimeActionType { - None, - Application, - Component - } -} diff --git a/gnomevfs/MimeType.cs b/gnomevfs/MimeType.cs index b8537dffa..cae755ef5 100644 --- a/gnomevfs/MimeType.cs +++ b/gnomevfs/MimeType.cs @@ -1,11 +1,22 @@ +// MimeType.cs - Mime-type bindings. // -// Mime.cs: Mime-type method bindings. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/Monitor.cs b/gnomevfs/Monitor.cs index e9c1a2874..1f40c1d62 100644 --- a/gnomevfs/Monitor.cs +++ b/gnomevfs/Monitor.cs @@ -1,11 +1,22 @@ +// Monitor.cs - gnome_vfs_monitor_* bindings. // -// Monitor.cs: Class wrapping the gnome_vfs_monitor_* methods. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/OpenMode.cs b/gnomevfs/OpenMode.cs deleted file mode 100644 index eaba29bca..000000000 --- a/gnomevfs/OpenMode.cs +++ /dev/null @@ -1,17 +0,0 @@ -// -// OpenMode.cs: GnomeVFSOpenMode enum. -// -// Author: -// Jeroen Zwartepoorte -// -// (C) Copyright Jeroen Zwartepoorte 2004 -// - -namespace Gnome.Vfs { - public enum OpenMode { - None = 0, - Read = 1 << 0, - Write = 1 << 1, - Random = 1 << 2 - } -} diff --git a/gnomevfs/Result.cs b/gnomevfs/Result.cs deleted file mode 100644 index 6b273b8bb..000000000 --- a/gnomevfs/Result.cs +++ /dev/null @@ -1,60 +0,0 @@ -// -// Result.cs: GnomeVFSResult enum. -// -// Author: -// Jeroen Zwartepoorte -// -// (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 - } -} diff --git a/gnomevfs/SeekPosition.cs b/gnomevfs/SeekPosition.cs deleted file mode 100644 index 09fc86e34..000000000 --- a/gnomevfs/SeekPosition.cs +++ /dev/null @@ -1,16 +0,0 @@ -// -// SeekPosition.cs: GnomeVFSSeekPosition enum. -// -// Author: -// Jeroen Zwartepoorte -// -// (C) Copyright Jeroen Zwartepoorte 2004 -// - -namespace Gnome.Vfs { - public enum SeekPosition { - Start, - Current, - End - } -} diff --git a/gnomevfs/Sync.cs b/gnomevfs/Sync.cs index f68748159..4db90c2f7 100644 --- a/gnomevfs/Sync.cs +++ b/gnomevfs/Sync.cs @@ -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 // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/Uri.custom b/gnomevfs/Uri.custom index dce4e3bec..724207175 100644 --- a/gnomevfs/Uri.custom +++ b/gnomevfs/Uri.custom @@ -1,12 +1,22 @@ +// Uri.custom - Uri class customizations. // -// Gnome.Vfs.Uri.custom - Gnome Vfs Uri class customizations +// Authors: Jeroen Zwartepoorte // -// 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 { diff --git a/gnomevfs/Vfs.cs b/gnomevfs/Vfs.cs index 32d71256a..88dd38422 100644 --- a/gnomevfs/Vfs.cs +++ b/gnomevfs/Vfs.cs @@ -1,11 +1,22 @@ +// Vfs.cs - Generic gnome-vfs method bindings. // -// Vfs.cs: Bindings for gnome-vfs. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/VfsStream.cs b/gnomevfs/VfsStream.cs index 5293e8feb..a2beb9d6e 100644 --- a/gnomevfs/VfsStream.cs +++ b/gnomevfs/VfsStream.cs @@ -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 // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/VfsStreamAsyncResult.cs b/gnomevfs/VfsStreamAsyncResult.cs index 23d57ed7c..b48a48ed7 100644 --- a/gnomevfs/VfsStreamAsyncResult.cs +++ b/gnomevfs/VfsStreamAsyncResult.cs @@ -1,3 +1,23 @@ +// VfsStreamAsyncResult.cs - IAsyncResult implementation for VfsStream. +// +// Authors: 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 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; diff --git a/gnomevfs/VolumeMonitor.custom b/gnomevfs/VolumeMonitor.custom index 53ec4844e..5f493c76c 100644 --- a/gnomevfs/VolumeMonitor.custom +++ b/gnomevfs/VolumeMonitor.custom @@ -1,12 +1,22 @@ +// VolumeMonitor.custom - VolumeMonitor class customizations. // -// Gnome.Vfs.VolumeMonitor.custom - Gnome Vfs VolumeMonitor class customizations +// Authors: Jeroen Zwartepoorte // -// 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 (); diff --git a/gnomevfs/Xfer.cs b/gnomevfs/Xfer.cs index 5cbddfbc3..202bfe739 100644 --- a/gnomevfs/Xfer.cs +++ b/gnomevfs/Xfer.cs @@ -1,11 +1,22 @@ +// Xfer.cs - Bindings for gnome_vfs_xfer_* methods. // -// Xfer.cs: Bindings for gnome_vfs_xfer_* methods. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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; diff --git a/gnomevfs/XferProgressCallback.cs b/gnomevfs/XferProgressCallback.cs index 65d76d4ca..aad8b5a4c 100644 --- a/gnomevfs/XferProgressCallback.cs +++ b/gnomevfs/XferProgressCallback.cs @@ -1,11 +1,22 @@ +// XferProgressCallback.cs - GnomeVFSXferProgressCallback delegate. // -// XferProgressCallback.cs: GnomeVFSXferProgressCallback delegate. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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); diff --git a/gnomevfs/XferProgressCallbackNative.cs b/gnomevfs/XferProgressCallbackNative.cs index fcf2187b8..0761b4cb7 100644 --- a/gnomevfs/XferProgressCallbackNative.cs +++ b/gnomevfs/XferProgressCallbackNative.cs @@ -1,11 +1,22 @@ +// XferProgressCallbackNative.cs - GnomeVFSXferProgressCallback wrapper. // -// XferProgressCallbackNative.cs: Native wrapper for GnomeVFSXferProgressCallback. +// Authors: Jeroen Zwartepoorte // -// Author: -// Jeroen Zwartepoorte +// 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;