2020-07-15 20:34:25 +00:00
|
|
|
package net.dankito.banking
|
|
|
|
|
2020-07-15 20:38:57 +00:00
|
|
|
import net.dankito.banking.bankfinder.InMemoryBankFinder
|
2020-07-15 20:34:25 +00:00
|
|
|
import net.dankito.banking.fints.webclient.IWebClient
|
2020-07-17 23:39:36 +00:00
|
|
|
import net.dankito.banking.persistence.IBankingPersistence
|
2020-09-24 00:53:09 +00:00
|
|
|
import net.dankito.banking.search.ITransactionPartySearcher
|
2020-07-15 20:34:25 +00:00
|
|
|
import net.dankito.banking.ui.IRouter
|
2020-09-11 10:25:05 +00:00
|
|
|
import net.dankito.banking.ui.model.mapper.DefaultModelCreator
|
2020-07-15 20:34:25 +00:00
|
|
|
import net.dankito.banking.ui.presenter.BankingPresenter
|
2020-07-30 12:48:18 +00:00
|
|
|
import net.dankito.banking.util.*
|
2020-07-15 20:34:25 +00:00
|
|
|
import net.dankito.banking.util.extraction.NoOpInvoiceDataExtractor
|
|
|
|
import net.dankito.banking.util.extraction.NoOpTextExtractorRegistry
|
|
|
|
import net.dankito.utils.multiplatform.File
|
|
|
|
|
|
|
|
|
2020-07-30 12:48:18 +00:00
|
|
|
class BankingPresenterSwift(dataFolder: File, router: IRouter, webClient: IWebClient, persistence: IBankingPersistence,
|
2020-09-24 00:53:09 +00:00
|
|
|
transactionPartySearcher: ITransactionPartySearcher, bankIconFinder: IBankIconFinder, serializer: ISerializer, asyncRunner: IAsyncRunner)
|
2020-09-11 10:25:05 +00:00
|
|
|
: BankingPresenter(fints4kBankingClientCreator(DefaultModelCreator(), serializer, webClient), InMemoryBankFinder(), dataFolder, persistence, router, DefaultModelCreator(),
|
2020-09-24 00:53:09 +00:00
|
|
|
transactionPartySearcher, bankIconFinder, NoOpTextExtractorRegistry(), NoOpInvoiceDataExtractor(), serializer, asyncRunner) {
|
2020-07-15 20:34:25 +00:00
|
|
|
|
|
|
|
}
|