aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:53 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:53 +0800
commitf3571f23063cebdea9e7c3fb0fa91e40c82cdaca (patch)
treeb688adcacddd1e93fdcdc0f0ded5dc4af4bdf46e /python/pyempathy
parentf7a42f5714cd20ac6cea0263c5cc0843d2f69584 (diff)
downloadgsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.tar
gsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.tar.gz
gsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.tar.bz2
gsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.tar.lz
gsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.tar.xz
gsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.tar.zst
gsoc2013-empathy-f3571f23063cebdea9e7c3fb0fa91e40c82cdaca.zip
Update Python bindings.
svn path=/trunk/; revision=2061
Diffstat (limited to 'python/pyempathy')
-rw-r--r--python/pyempathy/pyempathy.defs41
-rw-r--r--python/pyempathy/pyempathy.override2
2 files changed, 43 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 1cf0b69dd..f8b552c20 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -244,6 +244,15 @@
(return-type "int")
)
+(define-method is_account_just_connected
+ (of-object "EmpathyAccountManager")
+ (c-name "empathy_account_manager_is_account_just_connected")
+ (return-type "gboolean")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
;; From empathy-chatroom.h
@@ -892,6 +901,12 @@
)
)
+(define-method get_monitor
+ (of-object "EmpathyContactList")
+ (c-name "empathy_contact_list_get_monitor")
+ (return-type "EmpathyContactMonitor*")
+)
+
;; From empathy-contact-manager.h
@@ -916,6 +931,15 @@
)
)
+(define-method can_add
+ (of-object "EmpathyContactManager")
+ (c-name "empathy_contact_manager_can_add")
+ (return-type "gboolean")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
;; From empathy-debug.h
@@ -1916,6 +1940,12 @@
(return-type "McAccount*")
)
+(define-method can_add
+ (of-object "EmpathyTpContactList")
+ (c-name "empathy_tp_contact_list_can_add")
+ (return-type "gboolean")
+)
+
;; From empathy-tp-file.h
@@ -2153,6 +2183,12 @@
(return-type "none")
)
+(define-method get_flags
+ (of-object "EmpathyTpGroup")
+ (c-name "empathy_tp_group_get_flags")
+ (return-type "TpChannelGroupFlags")
+)
+
;; From empathy-tp-roomlist.h
@@ -2280,6 +2316,11 @@
;; From empathy-utils.h
+(define-function init
+ (c-name "empathy_init")
+ (return-type "none")
+)
+
(define-function substring
(c-name "empathy_substring")
(return-type "gchar*")
diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override
index 32b1e3e76..c90e69b7d 100644
--- a/python/pyempathy/pyempathy.override
+++ b/python/pyempathy/pyempathy.override
@@ -2,6 +2,7 @@
headers
#include <Python.h>
#include <pygobject.h>
+#include "empathy-account-manager.h"
#include "empathy-chatroom.h"
#include "empathy-chatroom-manager.h"
#include "empathy-contact.h"
@@ -9,6 +10,7 @@ headers
#include "empathy-contact-groups.h"
#include "empathy-contact-list.h"
#include "empathy-contact-manager.h"
+#include "empathy-contact-monitor.h"
#include "empathy-debug.h"
#include "empathy-dispatcher.h"
#include "empathy-enum-types.h"