Move more code from mobile to common

This commit is contained in:
Elias Projahn 2020-07-18 11:54:49 +02:00
parent 2e4f69a178
commit 5312bad52d
28 changed files with 258 additions and 215 deletions

View file

@ -46,6 +46,12 @@ abstract class MusicusPlatform {
basePath = path;
}
/// Choose a root level directory for the music library.
///
/// This should return a string representation of the chosen directory
/// suitable for storage as [basePath].
Future<String> chooseBasePath();
/// Get all documents in a directory.
///
/// [parentId] will be the ID of the directory document. If [parentId] is