[Nice] [nice/master] Added a NICE_COMPATIBILITY_LAST enum

Youness Alaoui youness.alaoui at collabora.co.uk
Wed Nov 5 14:01:02 PST 2008


darcs-hash:20080422193256-4f0f6-e5dd7affd0463719f11dd81d23fd6dda1b2afb31.gz
---
 agent/agent.c |    2 +-
 agent/agent.h |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index 43b344a..b3c5a0f 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -196,7 +196,7 @@ nice_agent_class_init (NiceAgentClass *klass)
          "compatibility",
          "ICE specification compatibility",
          "The compatibility mode for the agent",
-         NICE_COMPATIBILITY_ID19, NICE_COMPATIBILITY_MSN,
+         NICE_COMPATIBILITY_ID19, NICE_COMPATIBILITY_LAST-1,
          NICE_COMPATIBILITY_ID19,
          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
diff --git a/agent/agent.h b/agent/agent.h
index 58ecb98..a8f6804 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -98,9 +98,10 @@ typedef enum
 
 typedef enum
 {
-  NICE_COMPATIBILITY_ID19 = 1,
-  NICE_COMPATIBILITY_GOOGLE = 2,
-  NICE_COMPATIBILITY_MSN = 3
+  NICE_COMPATIBILITY_ID19,
+  NICE_COMPATIBILITY_GOOGLE,
+  NICE_COMPATIBILITY_MSN,
+  NICE_COMPATIBILITY_LAST
 } NiceCompatibility;
 
 typedef struct _NiceCandidateDesc NiceCandidateDesc;
-- 
1.5.6.5




More information about the Nice mailing list