diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-25 03:10:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-25 03:11:20 +0200 |
commit | 908e491f7d55209acfbb2595ab1ef5b24502d641 (patch) | |
tree | e3922a11db074e6a99045797cf9c1c69fe23f738 /avahi-sharp/ServiceTypeBrowser.cs | |
parent | 2b2844b10d7b7e5c97f9c667d664d9418bb7769a (diff) |
get rid of a lot of old svn cruft
Diffstat (limited to 'avahi-sharp/ServiceTypeBrowser.cs')
-rw-r--r-- | avahi-sharp/ServiceTypeBrowser.cs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/avahi-sharp/ServiceTypeBrowser.cs b/avahi-sharp/ServiceTypeBrowser.cs index 3796d60..e1356d0 100644 --- a/avahi-sharp/ServiceTypeBrowser.cs +++ b/avahi-sharp/ServiceTypeBrowser.cs @@ -1,5 +1,3 @@ -/* $Id$ */ - /*** This file is part of avahi. @@ -29,7 +27,7 @@ namespace Avahi internal delegate void ServiceTypeBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent, IntPtr type, IntPtr domain, LookupResultFlags flags, IntPtr userdata); - + public struct ServiceTypeInfo { public int NetworkInterface; @@ -55,7 +53,7 @@ namespace Avahi } public delegate void ServiceTypeInfoHandler (object o, ServiceTypeInfoArgs args); - + public class ServiceTypeBrowser : BrowserBase, IDisposable { private IntPtr handle; @@ -69,7 +67,7 @@ namespace Avahi private ArrayList addListeners = new ArrayList (); private ArrayList removeListeners = new ArrayList (); - + [DllImport ("avahi-client")] private static extern IntPtr avahi_service_type_browser_new (IntPtr client, int iface, int proto, byte[] domain, LookupFlags flags, @@ -90,7 +88,7 @@ namespace Avahi Stop (false); } } - + public event ServiceTypeInfoHandler ServiceTypeRemoved { add { |