ekiga r7233 - trunk/lib/engine/components/resource-list



Author: jpuydt
Date: Thu Oct 16 12:34:08 2008
New Revision: 7233
URL: http://svn.gnome.org/viewvc/ekiga?rev=7233&view=rev

Log:
Removed is_positional api : I don't remember what I wanted to do with it...

Modified:
   trunk/lib/engine/components/resource-list/rl-entry-ref.cpp
   trunk/lib/engine/components/resource-list/rl-entry-ref.h
   trunk/lib/engine/components/resource-list/rl-list.cpp
   trunk/lib/engine/components/resource-list/rl-list.h

Modified: trunk/lib/engine/components/resource-list/rl-entry-ref.cpp
==============================================================================
--- trunk/lib/engine/components/resource-list/rl-entry-ref.cpp	(original)
+++ trunk/lib/engine/components/resource-list/rl-entry-ref.cpp	Thu Oct 16 12:34:08 2008
@@ -70,12 +70,6 @@
     xmlFreeDoc (doc);
 }
 
-bool
-RL::EntryRef::is_positional () const
-{
-  return true; // FIXME
-}
-
 const std::string
 RL::EntryRef::get_uri () const
 {

Modified: trunk/lib/engine/components/resource-list/rl-entry-ref.h
==============================================================================
--- trunk/lib/engine/components/resource-list/rl-entry-ref.h	(original)
+++ trunk/lib/engine/components/resource-list/rl-entry-ref.h	Thu Oct 16 12:34:08 2008
@@ -62,10 +62,6 @@
 
     ~EntryRef ();
 
-    /* the part of the interface which helps the list manage this element */
-
-    bool is_positional () const;
-
     /* needed so presence can be pushed into this presentity */
 
     const std::string get_uri () const;

Modified: trunk/lib/engine/components/resource-list/rl-list.cpp
==============================================================================
--- trunk/lib/engine/components/resource-list/rl-list.cpp	(original)
+++ trunk/lib/engine/components/resource-list/rl-list.cpp	Thu Oct 16 12:34:08 2008
@@ -53,8 +53,6 @@
 
   ~ListImpl ();
 
-  bool is_positional () const;
-
   bool has_name (const std::string name) const;
 
   void push_presence (const std::string uri_,
@@ -139,12 +137,6 @@
 }
 
 bool
-RL::List::is_positional () const
-{
-  return impl->is_positional ();
-}
-
-bool
 RL::List::has_name (const std::string name) const
 {
   return impl->has_name (name);
@@ -224,21 +216,6 @@
 }
 
 bool
-RL::ListImpl::is_positional () const
-{
-  bool result = true;
-  xmlChar* str = xmlGetProp (node, BAD_CAST "name");
-
-  if (str != NULL) {
-
-    result = false;
-    xmlFree (str);
-  }
-
-  return result;
-}
-
-bool
 RL::ListImpl::has_name (const std::string name) const
 {
   return (name == position_name) || (name == display_name);

Modified: trunk/lib/engine/components/resource-list/rl-list.h
==============================================================================
--- trunk/lib/engine/components/resource-list/rl-list.h	(original)
+++ trunk/lib/engine/components/resource-list/rl-list.h	Thu Oct 16 12:34:08 2008
@@ -57,11 +57,8 @@
 
     ~List ();
 
-
     /* the part of the interface which helps the list manage this element */
 
-    bool is_positional () const;
-
     bool has_name (const std::string name) const;
 
     /* we need to push presence&status down */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]