Mercurial > libervia-backend
comparison src/plugins/plugin_misc_xmllog.py @ 538:2c4016921403
core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
- added profile argument to askConfirmation, actionResult, actionResultExt, entityDataUpdated, confirmationAnswer, getProgress
- core, frontends: fixed calls/signals according to new bridge API
- user of proper profile namespace for progression indicators and dialogs
- memory: getParam* now return bool when param type is bool
- memory: added getStringParam* to return string instead of typed value
- core, memory, storage, quick_frontend: getHistory now manage properly multi-profiles
- plugins XEP-0047, XEP-0054, XEP-0065, XEP-0077, XEP-0096; multi-profiles proper handling
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 10 Nov 2012 16:38:16 +0100 |
parents | 2a072735e459 |
children | 952322b1d490 |
comparison
equal
deleted
inserted
replaced
537:28cddc96c4ed | 538:2c4016921403 |
---|---|
72 host.memory.importParams(self.params) | 72 host.memory.importParams(self.params) |
73 | 73 |
74 #bridge | 74 #bridge |
75 host.bridge.addSignal("xmlLog", ".plugin", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile | 75 host.bridge.addSignal("xmlLog", ".plugin", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile |
76 | 76 |
77 do_log = bool(self.host.memory.getParamA("Xml log", "Debug")) | 77 do_log = self.host.memory.getParamA("Xml log", "Debug") |
78 if do_log: | 78 if do_log: |
79 info(_("XML log activated")) | 79 info(_("XML log activated")) |
80 host.trigger.add("XML Initialized", self.logXml) | 80 host.trigger.add("XML Initialized", self.logXml) |
81 | 81 |
82 def logXml(self, xmlstream, profile): | 82 def logXml(self, xmlstream, profile): |