From 908e491f7d55209acfbb2595ab1ef5b24502d641 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jun 2010 03:10:32 +0200 Subject: get rid of a lot of old svn cruft --- avahi-sharp/AddressResolver.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'avahi-sharp/AddressResolver.cs') diff --git a/avahi-sharp/AddressResolver.cs b/avahi-sharp/AddressResolver.cs index 3025102..c11e97d 100644 --- a/avahi-sharp/AddressResolver.cs +++ b/avahi-sharp/AddressResolver.cs @@ -1,5 +1,3 @@ -/* $Id$ */ - /*** This file is part of avahi. @@ -55,7 +53,7 @@ namespace Avahi this.address = address; } } - + public class AddressResolver : ResolverBase, IDisposable { private IntPtr handle; @@ -71,7 +69,7 @@ namespace Avahi private ArrayList foundListeners = new ArrayList (); private ArrayList timeoutListeners = new ArrayList (); - + [DllImport ("avahi-client")] private static extern IntPtr avahi_address_resolver_new (IntPtr client, int iface, Protocol proto, IntPtr address, LookupFlags flags, @@ -92,7 +90,7 @@ namespace Avahi Stop (false); } } - + public event EventHandler Timeout { add { @@ -155,7 +153,7 @@ namespace Avahi if (handle == IntPtr.Zero) client.ThrowError (); } - + Utility.Free (addrPtr); } -- cgit