From a950fddba0cc84e64bc72eb621429ba05540e98e Mon Sep 17 00:00:00 2001 From: James Willcox Date: Thu, 27 Oct 2005 18:25:31 +0000 Subject: [PATCH] fix the ClientState enumeration git-svn-id: file:///home/lennart/svn/public/avahi/trunk@895 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-sharp/Client.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 } -- 2.39.5