diff options
Diffstat (limited to 'python/pyempathy')
-rw-r--r-- | python/pyempathy/pyempathy.defs | 73 |
1 files changed, 55 insertions, 18 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 6b6f7dfd3..488f5b3ac 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -206,6 +206,18 @@ ) ) +(define-flags ContactListFlags + (in-module "Empathy") + (c-name "EmpathyContactListFlags") + (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS") + (values + '("add" "EMPATHY_CONTACT_LIST_CAN_ADD") + '("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE") + '("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS") + '("group" "EMPATHY_CONTACT_LIST_CAN_GROUP") + ) +) + (define-flags DebugFlags (in-module "Empathy") (c-name "EmpathyDebugFlags") @@ -220,6 +232,8 @@ '("ft" "EMPATHY_DEBUG_FT") '("location" "EMPATHY_DEBUG_LOCATION") '("other" "EMPATHY_DEBUG_OTHER") + '("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP") + '("connectivity" "EMPATHY_DEBUG_CONNECTIVITY") ) ) @@ -899,6 +913,18 @@ (return-type "gboolean") ) +(define-method can_voip_audio + (of-object "EmpathyContact") + (c-name "empathy_contact_can_voip_audio") + (return-type "gboolean") +) + +(define-method can_voip_video + (of-object "EmpathyContact") + (c-name "empathy_contact_can_voip_video") + (return-type "gboolean") +) + (define-method can_send_files (of-object "EmpathyContact") (c-name "empathy_contact_can_send_files") @@ -1131,6 +1157,12 @@ (return-type "EmpathyContactMonitor*") ) +(define-method get_flags + (of-object "EmpathyContactList") + (c-name "empathy_contact_list_get_flags") + (return-type "EmpathyContactListFlags") +) + ;; From empathy-contact-manager.h @@ -1140,6 +1172,11 @@ (return-type "GType") ) +(define-function contact_manager_initialized + (c-name "empathy_contact_manager_initialized") + (return-type "gboolean") +) + (define-function contact_manager_dup_singleton (c-name "empathy_contact_manager_dup_singleton") (return-type "EmpathyContactManager*") @@ -1154,10 +1191,10 @@ ) ) -(define-method can_add +(define-method get_flags_for_connection (of-object "EmpathyContactManager") - (c-name "empathy_contact_manager_can_add") - (return-type "gboolean") + (c-name "empathy_contact_manager_get_flags_for_connection") + (return-type "EmpathyContactListFlags") (parameters '("TpConnection*" "connection") ) @@ -1661,21 +1698,6 @@ ) ) -(define-method get_use_nm - (of-object "EmpathyIdle") - (c-name "empathy_idle_get_use_nm") - (return-type "gboolean") -) - -(define-method set_use_nm - (of-object "EmpathyIdle") - (c-name "empathy_idle_set_use_nm") - (return-type "none") - (parameters - '("gboolean" "use_nm") - ) -) - ;; From empathy-irc-network.h @@ -2142,6 +2164,21 @@ ) ) +(define-method is_backlog + (of-object "EmpathyMessage") + (c-name "empathy_message_is_backlog") + (return-type "gboolean") +) + +(define-method set_is_backlog + (of-object "EmpathyMessage") + (c-name "empathy_message_set_is_backlog") + (return-type "none") + (parameters + '("gboolean" "is_backlog") + ) +) + (define-method should_highlight (of-object "EmpathyMessage") (c-name "empathy_message_should_highlight") |