summaryrefslogtreecommitdiff
path: root/python/settings.py
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2019-06-13 03:55:00 -0400
committerBrian Potchik <brian@vector35.com>2019-06-13 03:55:00 -0400
commit977a0caa78e9a8ddb958baf535df881bbaaf05b4 (patch)
treee2d34525ef120ef9868d5e136b8423527c0c5bbd /python/settings.py
parent2dab57d29589fcc9e3896102ba222c7d1d4671cb (diff)
Initial rebase on file load support.
Diffstat (limited to 'python/settings.py')
-rw-r--r--python/settings.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/python/settings.py b/python/settings.py
index b16e9763..8bfe7255 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -81,10 +81,13 @@ class Settings(object):
return out_list
def update_property(self, id, setting_property):
- return core.BNSettingsUpdateProperty(self._registry_id, tr(), id, setting_property)
+ return core.BNSettingsUpdateProperty(self.registry_id, id, setting_property)
- def get_schema(self):
- return core.BNSettingsGetSchema(self._registry_id)
+ def deserialize_schema(self, schema):
+ return core.BNSettingsDeserializeSchema(self.registry_id, schema)
+
+ def serialize_schema(self):
+ return core.BNSettingsSerializeSchema(self.registry_id)
def copy_value(self, dest_registry_id, id):
return core.BNSettingsCopyValue(self._registry_id, dest_registry_id, id)