aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:32:57 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:55:34 +0800
commitf0c1f00b3562294709827d1463b3d605e0f09f40 (patch)
treebe1142822a889a130c99b233f56bf4b411a8a9b8 /python
parentb2a7b3d8d9f69f611d7c4ffc1df298bf33de03ff (diff)
downloadgsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.tar
gsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.tar.gz
gsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.tar.bz2
gsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.tar.lz
gsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.tar.xz
gsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.tar.zst
gsoc2013-empathy-f0c1f00b3562294709827d1463b3d605e0f09f40.zip
Update python bindings
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/pyempathy.defs43
1 files changed, 36 insertions, 7 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 0e54ea112..02c8dad19 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -208,6 +208,7 @@
'("audio" "EMPATHY_CAPABILITIES_AUDIO")
'("video" "EMPATHY_CAPABILITIES_VIDEO")
'("ft" "EMPATHY_CAPABILITIES_FT")
+ '("stream-tube" "EMPATHY_CAPABILITIES_STREAM_TUBE")
'("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
)
)
@@ -888,6 +889,12 @@
(return-type "gboolean")
)
+(define-method can_use_stream_tube
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_can_use_stream_tube")
+ (return-type "gboolean")
+)
+
(define-function contact_hash
(c-name "empathy_contact_hash")
(return-type "guint")
@@ -1253,15 +1260,32 @@
)
)
-(define-method find_channel_class
+(define-method find_requestable_channel_classes_async
+ (of-object "EmpathyDispatcher")
+ (c-name "empathy_dispatcher_find_requestable_channel_classes_async")
+ (return-type "none")
+ (parameters
+ '("TpConnection*" "connection")
+ '("const-gchar*" "channel_type")
+ '("guint" "handle_type")
+ '("EmpathyDispatcherFindChannelClassCb" "callback")
+ '("gpointer" "user_data")
+ '("const-char*" "first_property_name")
+ )
+ (varargs #t)
+)
+
+(define-method find_requestable_channel_classes
(of-object "EmpathyDispatcher")
- (c-name "empathy_dispatcher_find_channel_class")
- (return-type "GStrv")
+ (c-name "empathy_dispatcher_find_requestable_channel_classes")
+ (return-type "GList*")
(parameters
'("TpConnection*" "connection")
'("const-gchar*" "channel_type")
'("guint" "handle_type")
+ '("const-char*" "first_property_name")
)
+ (varargs #t)
)
(define-function dispatcher_dup_singleton
@@ -1389,7 +1413,6 @@
(parameters
'("EmpathyContact*" "contact")
'("GFile*" "source")
- '("gboolean" "use_hash")
)
)
@@ -1409,7 +1432,6 @@
(parameters
'("EmpathyFTHandler*" "handler")
'("GFile*" "destination")
- '("gboolean" "use_hash")
)
)
@@ -1428,7 +1450,6 @@
(parameters
'("EmpathyContact*" "contact")
'("GFile*" "source")
- '("gboolean" "use_hash")
'("EmpathyFTHandlerReadyCallback" "callback")
'("gpointer" "user_data")
)
@@ -1450,7 +1471,6 @@
(return-type "none")
(parameters
'("GFile*" "destination")
- '("gboolean" "use_hash")
)
)
@@ -2916,4 +2936,13 @@
(return-type "gboolean")
)
+(define-function uint_compare
+ (c-name "empathy_uint_compare")
+ (return-type "gint")
+ (parameters
+ '("gconstpointer" "a")
+ '("gconstpointer" "b")
+ )
+)
+