app/src/main/java/ch/epfl/sdp/drone3d/service/module/PhotosModule.kt
/*
* Copyright (C) 2021 Drone3D-Team
* The license can be found in LICENSE at root of the repository
*/
package ch.epfl.sdp.drone3d.service.module
import ch.epfl.sdp.drone3d.service.api.drone.DronePhotos
import ch.epfl.sdp.drone3d.service.impl.drone.DronePhotosImpl
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
abstract class PhotosModule {
@Singleton
@Binds
abstract fun bindDronePhotos(dronePhotosImpl: DronePhotosImpl): DronePhotos
}