aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-09 02:42:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-09 02:42:11 +0800
commitb161e626aa0e40e3793d4d9391292706fb76cdaf (patch)
tree61c69215bdfadfd441330754cea8a7c371b55915 /python/pyempathy
parenta0d8cc0977c0529135f755e12a3a66797dbd677d (diff)
downloadgsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.tar
gsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.tar.gz
gsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.tar.bz2
gsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.tar.lz
gsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.tar.xz
gsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.tar.zst
gsoc2013-empathy-b161e626aa0e40e3793d4d9391292706fb76cdaf.zip
Update python binding
svn path=/trunk/; revision=1095
Diffstat (limited to 'python/pyempathy')
-rw-r--r--python/pyempathy/pyempathy.defs60
-rw-r--r--python/pyempathy/pyempathy.override1
2 files changed, 59 insertions, 2 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 700d43935..cc9ef339e 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -42,6 +42,13 @@
(gtype-id "EMPATHY_TYPE_CONTACT_MANAGER")
)
+(define-object Dispatcher
+ (in-module "Empathy")
+ (parent "GObject")
+ (c-name "EmpathyDispatcher")
+ (gtype-id "EMPATHY_TYPE_DISPATCHER")
+)
+
(define-object Idle
(in-module "Empathy")
(parent "GObject")
@@ -153,7 +160,7 @@
'("contact" "EMPATHY_DEBUG_CONTACT")
'("account" "EMPATHY_DEBUG_ACCOUNT")
'("irc" "EMPATHY_DEBUG_IRC")
- '("filter" "EMPATHY_DEBUG_FILTER")
+ '("dispatcher" "EMPATHY_DEBUG_DISPATCHER")
'("other" "EMPATHY_DEBUG_OTHER")
)
)
@@ -1591,7 +1598,6 @@
(return-type "EmpathyTpChat*")
(parameters
'("TpChannel*" "channel")
- '("gboolean" "acknowledge")
)
)
@@ -2247,3 +2253,53 @@
)
+
+;; From empathy-dispatcher.h
+
+(define-function empathy_dispatcher_get_type
+ (c-name "empathy_dispatcher_get_type")
+ (return-type "GType")
+)
+
+(define-function empathy_dispatcher_new
+ (c-name "empathy_dispatcher_new")
+ (is-constructor-of "EmpathyDispatcher")
+ (return-type "EmpathyDispatcher*")
+)
+
+(define-method channel_process
+ (of-object "EmpathyDispatcher")
+ (c-name "empathy_dispatcher_channel_process")
+ (return-type "none")
+ (parameters
+ '("TpChannel*" "channel")
+ )
+)
+
+(define-function empathy_dispatcher_tube_get_type
+ (c-name "empathy_dispatcher_tube_get_type")
+ (return-type "GType")
+)
+
+(define-method ref
+ (of-object "EmpathyDispatcherTube")
+ (c-name "empathy_dispatcher_tube_ref")
+ (return-type "EmpathyDispatcherTube*")
+)
+
+(define-method unref
+ (of-object "EmpathyDispatcherTube")
+ (c-name "empathy_dispatcher_tube_unref")
+ (return-type "none")
+)
+
+(define-method tube_process
+ (of-object "EmpathyDispatcher")
+ (c-name "empathy_dispatcher_tube_process")
+ (return-type "none")
+ (parameters
+ '("EmpathyDispatcherTube*" "tube")
+ )
+)
+
+
diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override
index 5f9261b74..0b44a265d 100644
--- a/python/pyempathy/pyempathy.override
+++ b/python/pyempathy/pyempathy.override
@@ -11,6 +11,7 @@ headers
#include "empathy-contact-list.h"
#include "empathy-contact-manager.h"
#include "empathy-debug.h"
+#include "empathy-dispatcher.h"
#include "empathy-enum-types.h"
#include "empathy-idle.h"
#include "empathy-irc-network.h"