comparison sat/core/sat_main.py @ 3163:d10b2368684e

bridge: added methods to let frontends store/retrieve/delete private data
author Goffi <goffi@goffi.org>
date Mon, 10 Feb 2020 22:01:53 +0100
parents 46a6251713d3
children 84a94b385760
comparison
equal deleted inserted replaced
3162:b5c058c7692e 3163:d10b2368684e
134 self.bridge.register_method("encryptionPluginsGet", self._encryptionPluginsGet) 134 self.bridge.register_method("encryptionPluginsGet", self._encryptionPluginsGet)
135 self.bridge.register_method("encryptionTrustUIGet", self._encryptionTrustUIGet) 135 self.bridge.register_method("encryptionTrustUIGet", self._encryptionTrustUIGet)
136 self.bridge.register_method("getConfig", self._getConfig) 136 self.bridge.register_method("getConfig", self._getConfig)
137 self.bridge.register_method("setParam", self.setParam) 137 self.bridge.register_method("setParam", self.setParam)
138 self.bridge.register_method("getParamA", self.memory.getStringParamA) 138 self.bridge.register_method("getParamA", self.memory.getStringParamA)
139 self.bridge.register_method("privateDataGet", self.memory._privateDataGet)
140 self.bridge.register_method("privateDataSet", self.memory._privateDataSet)
141 self.bridge.register_method("privateDataDelete", self.memory._privateDataDelete)
139 self.bridge.register_method("asyncGetParamA", self.memory.asyncGetStringParamA) 142 self.bridge.register_method("asyncGetParamA", self.memory.asyncGetStringParamA)
140 self.bridge.register_method( 143 self.bridge.register_method(
141 "asyncGetParamsValuesFromCategory", 144 "asyncGetParamsValuesFromCategory",
142 self.memory._getParamsValuesFromCategory, 145 self.memory._getParamsValuesFromCategory,
143 ) 146 )