diff src/bridge/bridge_constructor/dbus_frontend_template.py @ 307:1e4575e12581

Group blog first draft - blog can now be sent, node are automatically created
author Goffi <goffi@goffi.org>
date Thu, 07 Apr 2011 22:23:48 +0200
parents e04ccf122bb6
children 5fc5e6a7e5c3
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py	Thu Apr 07 22:22:41 2011 +0200
+++ b/src/bridge/bridge_constructor/dbus_frontend_template.py	Thu Apr 07 22:23:48 2011 +0200
@@ -99,6 +99,12 @@
     def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None):
         return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
 
+    def getMblogNodes(self, profile_key='@DEFAULT@', callback=None, errback=None):
+        return self.db_comm_iface.getMblogNodes(profile_key, reply_handler=callback, error_handler=errback)
+    
+    def sendGroupBlog(self, groups, message, profile_key='@DEFAULT@'):
+        return self.db_comm_iface.sendGroupBlog(groups, message, profile_key)
+    
     def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'):
         return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)