Commit b6bf36b6 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

base interface for settigns

parent a1c067d4
package com.biganto.visual.roompark.data.data_provider
import com.biganto.visual.roompark.data.repository.api.IRoomParkApi
import com.biganto.visual.roompark.data.repository.db.IDb
import com.biganto.visual.roompark.data.repository.file.FileModule
import com.biganto.visual.roompark.domain.contract.FilesContract
import javax.inject.Inject
/**
* Created by Vladislav Bogdashkin on 29.10.2019.
*/
//@Singleton
class FilesContractModule @Inject constructor(
private val files: FileModule,
private val api: IRoomParkApi,
private val db: IDb
): FilesContract {
}
package com.biganto.visual.roompark.domain.contract
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
interface FilesContract{
}
\ No newline at end of file
package com.biganto.visual.roompark.domain.use_case
import com.biganto.visual.roompark.data.data_provider.AuthContractModule
import javax.inject.Inject
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
class SettingsUseCase @Inject constructor(
private val authContract: AuthContractModule
){
fun signOut() = authContract.signOut()
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment