mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 05:09:53 +01:00
Use default methods for easier maintenance.
This commit is contained in:
@@ -21,6 +21,7 @@ import javax.inject.Singleton
|
||||
)
|
||||
@Singleton
|
||||
internal interface BriarHeadlessApp : BrambleCoreEagerSingletons, BriarCoreEagerSingletons {
|
||||
|
||||
fun getRouter(): Router
|
||||
|
||||
fun getSecureRandom(): SecureRandom
|
||||
|
||||
@@ -24,6 +24,7 @@ import javax.inject.Singleton
|
||||
)
|
||||
@Singleton
|
||||
internal interface BriarHeadlessTestApp : BrambleCoreEagerSingletons, BriarCoreEagerSingletons {
|
||||
|
||||
fun getRouter(): Router
|
||||
|
||||
fun getCryptoComponent(): CryptoComponent
|
||||
|
||||
Reference in New Issue
Block a user