Exemple #1
0
 def get_integer_with_scope(self,
                            key,
                            view=None,
                            scope=SettingsScope.SettingsAutoScope):
     if view is not None:
         view = view.handle
     c_scope = core.SettingsScopeEnum(scope)
     result = core.BNSettingsGetUInt64(self.handle, key, view,
                                       ctypes.byref(c_scope))
     return (result, SettingsScope(c_scope.value))
Exemple #2
0
 def get_integer(self, key, view=None):
     if view is not None:
         view = view.handle
     return core.BNSettingsGetUInt64(self.handle, key, view, None)
Exemple #3
0
 def get_integer(self, id, view=None):
     if view is not None:
         view = view.handle
     return core.BNSettingsGetUInt64(self.registry_id, id, view, None)