Use injection to provide feature flags.

This commit is contained in:
akwizgran
2019-06-18 10:52:21 +01:00
parent a54eb64eb5
commit 3828d16971
6 changed files with 40 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
package org.briarproject.bramble.api;
/**
* Interface for specifying which features are enabled in a build.
*/
public interface FeatureFlags {
boolean shouldEnableImageAttachments();
boolean shouldEnableRemoteContacts();
}