From: James Willcox Date: Thu, 27 Oct 2005 18:25:31 +0000 (+0000) Subject: fix the ClientState enumeration X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=a950fddba0cc84e64bc72eb621429ba05540e98e;p=catta fix the ClientState enumeration git-svn-id: file:///home/lennart/svn/public/avahi/trunk@895 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-sharp/Client.cs b/avahi-sharp/Client.cs index cc77cf8..5734f01 100644 --- a/avahi-sharp/Client.cs +++ b/avahi-sharp/Client.cs @@ -50,12 +50,18 @@ namespace Avahi IPv4 = 0, IPv6 = 1 } - - public enum ClientState { + + internal enum ServerState { Invalid, Registering, Running, - Collision, + Collision + } + + public enum ClientState { + Registering = ServerState.Registering, + Running = ServerState.Running, + Collision = ServerState.Collision, Disconnected = 100 }