diff options
Diffstat (limited to 'python/pyempathy')
-rw-r--r-- | python/pyempathy/pyempathy.defs | 53 |
1 files changed, 34 insertions, 19 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 918df4711..1cf0b69dd 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -1,5 +1,12 @@ ;; -*- scheme -*- ; object definitions ... +(define-object AccountManager + (in-module "Empathy") + (parent "GObject") + (c-name "EmpathyAccountManager") + (gtype-id "EMPATHY_TYPE_ACCOUNT_MANAGER") +) + (define-object Chatroom (in-module "Empathy") (parent "GObject") @@ -212,6 +219,33 @@ ) +;; From empathy-account-manager.h + +(define-function account_manager_get_type + (c-name "empathy_account_manager_get_type") + (return-type "GType") +) + +(define-function account_manager_new + (c-name "empathy_account_manager_new") + (is-constructor-of "EmpathyAccountManager") + (return-type "EmpathyAccountManager*") +) + +(define-method get_connected_accounts + (of-object "EmpathyAccountManager") + (c-name "empathy_account_manager_get_connected_accounts") + (return-type "int") +) + +(define-method get_connecting_accounts + (of-object "EmpathyAccountManager") + (c-name "empathy_account_manager_get_connecting_accounts") + (return-type "int") +) + + + ;; From empathy-chatroom.h (define-function chatroom_get_type @@ -2396,25 +2430,6 @@ ) ) -(define-function connect_to_account_status_changed - (c-name "empathy_connect_to_account_status_changed") - (return-type "gpointer") - (parameters - '("MissionControl*" "mc") - '("GCallback" "handler") - '("gpointer" "user_data") - '("GClosureNotify" "free_func") - ) -) - -(define-function disconnect_account_status_changed - (c-name "empathy_disconnect_account_status_changed") - (return-type "none") - (parameters - '("gpointer" "token") - ) -) - (define-function proxy_equal (c-name "empathy_proxy_equal") (return-type "gboolean") |