From ec55d4f9308a0eb65c6ea5de7e9757e9d8b0b70f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 18 May 2008 14:27:44 +0000 Subject: Improve dispatcher. Fixes bug #465928. svn path=/trunk/; revision=1108 --- python/pyempathy/pyempathy.defs | 85 ++++++++++++++++++++++++----------------- 1 file changed, 51 insertions(+), 34 deletions(-) (limited to 'python') diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index cc9ef339e..45e347175 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -498,40 +498,6 @@ (return-type "MissionControl*") ) -(define-function empathy_call_with_contact - (c-name "empathy_call_with_contact") - (return-type "none") - (parameters - '("EmpathyContact*" "contact") - ) -) - -(define-function empathy_call_with_contact_id - (c-name "empathy_call_with_contact_id") - (return-type "none") - (parameters - '("McAccount*" "account") - '("const-gchar*" "contact_id") - ) -) - -(define-function empathy_chat_with_contact - (c-name "empathy_chat_with_contact") - (return-type "none") - (parameters - '("EmpathyContact*" "contact") - ) -) - -(define-function empathy_chat_with_contact_id - (c-name "empathy_chat_with_contact_id") - (return-type "none") - (parameters - '("McAccount*" "account") - '("const-gchar*" "contact_id") - ) -) - (define-function empathy_presence_get_default_message (c-name "empathy_presence_get_default_message") (return-type "const-gchar*") @@ -612,6 +578,23 @@ ) ) +(define-function empathy_proxy_equal + (c-name "empathy_proxy_equal") + (return-type "gboolean") + (parameters + '("gconstpointer" "a") + '("gconstpointer" "b") + ) +) + +(define-function empathy_proxy_hash + (c-name "empathy_proxy_hash") + (return-type "guint") + (parameters + '("gconstpointer" "key") + ) +) + ;; From empathy-message.h @@ -2302,4 +2285,38 @@ ) ) +(define-function empathy_dispatcher_call_with_contact + (c-name "empathy_dispatcher_call_with_contact") + (return-type "none") + (parameters + '("EmpathyContact*" "contact") + ) +) + +(define-function empathy_dispatcher_call_with_contact_id + (c-name "empathy_dispatcher_call_with_contact_id") + (return-type "none") + (parameters + '("McAccount*" "account") + '("const-gchar*" "contact_id") + ) +) + +(define-function empathy_dispatcher_chat_with_contact_id + (c-name "empathy_dispatcher_chat_with_contact_id") + (return-type "none") + (parameters + '("McAccount*" "account") + '("const-gchar*" "contact_id") + ) +) + +(define-function empathy_dispatcher_chat_with_contact + (c-name "empathy_dispatcher_chat_with_contact") + (return-type "none") + (parameters + '("EmpathyContact*" "contact") + ) +) + -- cgit v1.2.3