]> git.meshlink.io Git - catta/commitdiff
fix the ClientState enumeration
authorJames Willcox <snopr@snorp.net>
Thu, 27 Oct 2005 18:25:31 +0000 (18:25 +0000)
committerJames Willcox <snopr@snorp.net>
Thu, 27 Oct 2005 18:25:31 +0000 (18:25 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@895 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-sharp/Client.cs

index cc77cf870e0100fa1c8da4b22c9065591f70425b..5734f019903743b1fda1dc6f012dcde40338eaba 100644 (file)
@@ -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
     }