-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194 from andannn/vlc_player_for_destop_app
move file to commonMain
- Loading branch information
Showing
15 changed files
with
64 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 2 additions & 6 deletions
8
...n/melodify/core/player/CoroutineTicker.kt → ...nn/melodify/core/player/CoroutineTimer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
12 changes: 11 additions & 1 deletion
12
core/player/src/commonMain/kotlin/com/andannn/melodify/core/player/di/PlayerModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
package com.andannn.melodify.core.player.di | ||
|
||
import com.andannn.melodify.core.player.SleepTimerController | ||
import com.andannn.melodify.core.player.SleepTimerControllerImpl | ||
import org.koin.core.module.Module | ||
import org.koin.core.module.dsl.singleOf | ||
import org.koin.dsl.bind | ||
import org.koin.dsl.module | ||
|
||
expect val playerModule : Module | ||
val playerModule : Module = module { | ||
includes(platformPlayerModule) | ||
singleOf(::SleepTimerControllerImpl).bind(SleepTimerController::class) | ||
} | ||
|
||
internal expect val platformPlayerModule : Module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
core/player/src/iosMain/kotlin/com/andannn/melodify/core/player/di/PlayerModule.ios.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
package com.andannn.melodify.core.player.di | ||
|
||
import org.koin.dsl.module | ||
|
||
actual val playerModule = module { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
core/syncer/src/commonMain/kotlin/com/andannn/melodify/core/syncer/MediaLibraryScanner.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
package com.andannn.melodify.core.syncer | ||
|
||
import com.andannn.melodify.core.syncer.model.MediaDataModel | ||
|
||
interface MediaLibraryScanner { | ||
suspend fun scanMediaData(): MediaDataModel | ||
suspend fun scanMediaDataAndSyncDatabase() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
core/syncer/src/commonMain/kotlin/com/andannn/melodify/core/syncer/di/SyncerModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
package com.andannn.melodify.core.syncer.di | ||
|
||
import com.andannn.melodify.core.syncer.MediaLibrarySyncer | ||
import com.andannn.melodify.core.syncer.MediaLibrarySyncerImpl | ||
import org.koin.core.module.Module | ||
import org.koin.core.module.dsl.singleOf | ||
import org.koin.dsl.bind | ||
import org.koin.dsl.module | ||
|
||
expect val syncerModule: Module | ||
//= module { | ||
// singleOf(::MediaLibrarySyncerImpl).bind(MediaLibrarySyncer::class) | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters