package com.example.tis_sep.di

import com.example.core.domain.Printer
import com.example.core.domain.PspService
import com.example.ps4.P4Printer
import com.example.ps4.Ps4Service
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: Ps4Service): PspService

    @Binds
    abstract fun bindPrinter(impl: P4Printer): Printer

}
