[ekiga] Got rid of the is_found method in Ekiga::Contact
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga] Got rid of the is_found method in Ekiga::Contact
- Date: Mon, 28 Sep 2009 19:05:55 +0000 (UTC)
commit 03445498e45186ba8ebe8686d64ee9d596a73ee1
Author: Julien Puydt <jpuydt gnome org>
Date: Mon Sep 28 16:39:19 2009 +0200
Got rid of the is_found method in Ekiga::Contact
It was unused by the gui, and had stupid FIXME implementations anyway!
lib/engine/addressbook/contact.h | 6 ------
.../components/call-history/history-contact.cpp | 7 -------
.../components/call-history/history-contact.h | 2 --
plugins/evolution/evolution-contact.cpp | 6 ------
plugins/evolution/evolution-contact.h | 2 --
plugins/kab/kab-contact.cpp | 6 ------
plugins/kab/kab-contact.h | 2 --
plugins/ldap/ldap-contact.cpp | 6 ------
plugins/ldap/ldap-contact.h | 2 --
9 files changed, 0 insertions(+), 39 deletions(-)
---
diff --git a/lib/engine/addressbook/contact.h b/lib/engine/addressbook/contact.h
index e562152..7c5a30b 100644
--- a/lib/engine/addressbook/contact.h
+++ b/lib/engine/addressbook/contact.h
@@ -69,12 +69,6 @@ namespace Ekiga
* @return The name of the Ekiga::Contact.
*/
virtual const std::string get_name () const = 0;
-
-
- /** Returns if a contact is found or not.
- * @return True if the contact has been found.
- */
- virtual bool is_found (const std::string) const = 0;
};
diff --git a/lib/engine/components/call-history/history-contact.cpp b/lib/engine/components/call-history/history-contact.cpp
index 9798fd6..587c388 100644
--- a/lib/engine/components/call-history/history-contact.cpp
+++ b/lib/engine/components/call-history/history-contact.cpp
@@ -209,10 +209,3 @@ History::Contact::get_call_duration () const
{
return call_duration;
}
-
-bool
-History::Contact::is_found (std::string /*test*/) const
-{
- /* FIXME */
- return true;
-}
diff --git a/lib/engine/components/call-history/history-contact.h b/lib/engine/components/call-history/history-contact.h
index 5f681be..557fefb 100644
--- a/lib/engine/components/call-history/history-contact.h
+++ b/lib/engine/components/call-history/history-contact.h
@@ -85,8 +85,6 @@ namespace History
bool populate_menu (Ekiga::MenuBuilder &builder);
- bool is_found (std::string test) const;
-
/*** more specific api ***/
xmlNodePtr get_node ();
diff --git a/plugins/evolution/evolution-contact.cpp b/plugins/evolution/evolution-contact.cpp
index 104e46a..2a968fb 100644
--- a/plugins/evolution/evolution-contact.cpp
+++ b/plugins/evolution/evolution-contact.cpp
@@ -93,12 +93,6 @@ Evolution::Contact::get_name () const
return name;
}
-bool
-Evolution::Contact::is_found (const std::string /*test*/) const
-{
- return false;
-}
-
void
Evolution::Contact::update_econtact (EContact *_econtact)
{
diff --git a/plugins/evolution/evolution-contact.h b/plugins/evolution/evolution-contact.h
index 1b6c097..3fc695c 100644
--- a/plugins/evolution/evolution-contact.h
+++ b/plugins/evolution/evolution-contact.h
@@ -69,8 +69,6 @@ namespace Evolution
bool populate_menu (Ekiga::MenuBuilder &builder);
- bool is_found (const std::string) const;
-
void update_econtact (EContact *econtact);
void remove ();
diff --git a/plugins/kab/kab-contact.cpp b/plugins/kab/kab-contact.cpp
index 40743be..4a1c722 100644
--- a/plugins/kab/kab-contact.cpp
+++ b/plugins/kab/kab-contact.cpp
@@ -88,9 +88,3 @@ KAB::Contact::populate_menu (Ekiga::MenuBuilder &builder)
return result;
}
-
-bool
-KAB::Contact::is_found (const std::string /*test*/) const
-{
- return false;
-}
diff --git a/plugins/kab/kab-contact.h b/plugins/kab/kab-contact.h
index dd76e1b..4b5c2c7 100644
--- a/plugins/kab/kab-contact.h
+++ b/plugins/kab/kab-contact.h
@@ -67,8 +67,6 @@ namespace KAB
bool populate_menu (Ekiga::MenuBuilder &builder);
- bool is_found (const std::string test) const;
-
private:
Ekiga::ContactCore& core;
diff --git a/plugins/ldap/ldap-contact.cpp b/plugins/ldap/ldap-contact.cpp
index 954c475..550709f 100644
--- a/plugins/ldap/ldap-contact.cpp
+++ b/plugins/ldap/ldap-contact.cpp
@@ -94,9 +94,3 @@ OPENLDAP::Contact::populate_menu (Ekiga::MenuBuilder &builder)
}
return result;
}
-
-bool
-OPENLDAP::Contact::is_found (const std::string /*test*/) const
-{
- return false;
-}
diff --git a/plugins/ldap/ldap-contact.h b/plugins/ldap/ldap-contact.h
index 1268c2d..660b2fc 100644
--- a/plugins/ldap/ldap-contact.h
+++ b/plugins/ldap/ldap-contact.h
@@ -64,8 +64,6 @@ namespace OPENLDAP
bool populate_menu (Ekiga::MenuBuilder &builder);
- bool is_found (const std::string) const;
-
private:
Ekiga::ServiceCore &core;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]