[ekiga] Removed dead api
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga] Removed dead api
- Date: Fri, 10 Jul 2009 19:35:45 +0000 (UTC)
commit 60edd30f710eecb9dd3f3efa169866accb343e02
Author: Julien Puydt <jpuydt gnome org>
Date: Fri Jul 10 15:08:39 2009 +0200
Removed dead api
We didn't make anything about it anyway :-/
lib/engine/addressbook/contact.h | 8 --------
.../components/evolution/evolution-contact.cpp | 19 -------------------
.../components/evolution/evolution-contact.h | 2 --
lib/engine/components/kab/kab-contact.cpp | 13 -------------
lib/engine/components/kab/kab-contact.h | 3 ---
lib/engine/components/ldap/ldap-contact.cpp | 6 ------
lib/engine/components/ldap/ldap-contact.h | 2 --
7 files changed, 0 insertions(+), 53 deletions(-)
---
diff --git a/lib/engine/addressbook/contact.h b/lib/engine/addressbook/contact.h
index 4d120ea..c9f45e9 100644
--- a/lib/engine/addressbook/contact.h
+++ b/lib/engine/addressbook/contact.h
@@ -71,14 +71,6 @@ namespace Ekiga
virtual const std::string get_name () const = 0;
- /** Returns the groups of the Ekiga::Contact.
- * This function is purely virtual and should be implemented by the
- * Ekiga::Contact descendant.
- * @return The set of group names of the Ekiga::Contact.
- */
- virtual const std::set<std::string> get_groups () const = 0;
-
-
/** Returns if a contact is found or not.
* @return True if the contact has been found.
*/
diff --git a/lib/engine/components/evolution/evolution-contact.cpp b/lib/engine/components/evolution/evolution-contact.cpp
index 49df323..b34583d 100644
--- a/lib/engine/components/evolution/evolution-contact.cpp
+++ b/lib/engine/components/evolution/evolution-contact.cpp
@@ -83,25 +83,6 @@ Evolution::Contact::get_name () const
return name;
}
-const std::set<std::string>
-Evolution::Contact::get_groups () const
-{
- std::set<std::string> groups;
- gchar *categories = NULL;
-
- categories = (gchar *)e_contact_get_const (econtact, E_CONTACT_CATEGORIES);
-
- if (categories != NULL) {
-
- gchar **split = g_strsplit (categories, ",", 0);
- for (gchar **ptr = split; *ptr != NULL; ptr++)
- groups.insert (*ptr);
- g_strfreev (split);
- }
-
- return groups;
-}
-
bool
Evolution::Contact::is_found (const std::string /*test*/) const
{
diff --git a/lib/engine/components/evolution/evolution-contact.h b/lib/engine/components/evolution/evolution-contact.h
index ce50e35..f841ce6 100644
--- a/lib/engine/components/evolution/evolution-contact.h
+++ b/lib/engine/components/evolution/evolution-contact.h
@@ -67,8 +67,6 @@ namespace Evolution
const std::string get_name () const;
- const std::set<std::string> get_groups () const;
-
bool populate_menu (Ekiga::MenuBuilder &builder);
bool is_found (const std::string) const;
diff --git a/lib/engine/components/kab/kab-contact.cpp b/lib/engine/components/kab/kab-contact.cpp
index 982dd13..6614065 100644
--- a/lib/engine/components/kab/kab-contact.cpp
+++ b/lib/engine/components/kab/kab-contact.cpp
@@ -43,13 +43,6 @@ KAB::Contact::Contact (Ekiga::ContactCore& _core,
KABC::Addressee* addressee_)
: core(_core), addressee(*addressee_)
{
- QStringList categories = addressee.categories ();
- for (QStringList::const_iterator iter = categories.begin ();
- iter != categories.end ();
- iter++) {
-
- groups.insert ((*iter).toUtf8 ().data ());
- }
}
KAB::Contact::~Contact ()
@@ -62,12 +55,6 @@ KAB::Contact::get_name () const
return addressee.formattedName ().toUtf8 ().constData ();
}
-const std::set<std::string>
-KAB::Contact::get_groups () const
-{
- return groups;
-}
-
bool
KAB::Contact::populate_menu (Ekiga::MenuBuilder &builder)
{
diff --git a/lib/engine/components/kab/kab-contact.h b/lib/engine/components/kab/kab-contact.h
index 6b426f6..3998723 100644
--- a/lib/engine/components/kab/kab-contact.h
+++ b/lib/engine/components/kab/kab-contact.h
@@ -63,8 +63,6 @@ namespace KAB
const std::string get_name () const;
- const std::set<std::string> get_groups () const;
-
const std::map<std::string, std::string> get_uris () const;
bool populate_menu (Ekiga::MenuBuilder &builder);
@@ -75,7 +73,6 @@ namespace KAB
Ekiga::ContactCore& core;
KABC::Addressee& addressee;
- std::set<std::string> groups;
};
typedef gmref_ptr<Contact> ContactPtr;
diff --git a/lib/engine/components/ldap/ldap-contact.cpp b/lib/engine/components/ldap/ldap-contact.cpp
index 8142a02..3c84840 100644
--- a/lib/engine/components/ldap/ldap-contact.cpp
+++ b/lib/engine/components/ldap/ldap-contact.cpp
@@ -59,12 +59,6 @@ OPENLDAP::Contact::get_name () const
return name;
}
-const std::set<std::string>
-OPENLDAP::Contact::get_groups () const
-{
- return std::set<std::string>();
-}
-
bool
OPENLDAP::Contact::populate_menu (Ekiga::MenuBuilder &builder)
{
diff --git a/lib/engine/components/ldap/ldap-contact.h b/lib/engine/components/ldap/ldap-contact.h
index 7d98a0f..31cd75e 100644
--- a/lib/engine/components/ldap/ldap-contact.h
+++ b/lib/engine/components/ldap/ldap-contact.h
@@ -62,8 +62,6 @@ namespace OPENLDAP
const std::string get_name () const;
- const std::set<std::string> get_groups () const;
-
bool populate_menu (Ekiga::MenuBuilder &builder);
bool is_found (const std::string) const;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]