package com.example.tis_app.di

import com.example.core.domain.Printer
import com.example.core.domain.PspService
import com.example.p3.P3Printer
import com.example.p3.P3Service
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@Module
@InstallIn(SingletonComponent::class)
abstract class PspModule {
    @Binds
    abstract fun bindPspService(impl: P3Service): PspService

    @Binds
    abstract fun bindPrinter(impl: P3Printer): Printer
}
