mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
ENH: Replaces transport config with namespaced settings
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package org.briarproject.api.settings;
|
||||
|
||||
import org.briarproject.api.db.DbException;
|
||||
import org.briarproject.api.Settings;
|
||||
|
||||
public interface SettingsManager {
|
||||
|
||||
/**
|
||||
* Returns the settings object identified by the provided namespace
|
||||
* string
|
||||
*/
|
||||
Settings getSettings(String namespace) throws DbException;
|
||||
|
||||
/**
|
||||
* Merges (read syncs) the provided settings identified by the provided namespace
|
||||
* string
|
||||
*/
|
||||
void mergeSettings(Settings s, String namespace) throws DbException;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user