mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-17 00:42:29 +08:00

This contains the default editor / view / sortingMode / etc. For now the folder settings are shared among all Folders. But the idea is that we should be able to set different settings per folder (real or virtual)
22 lines
461 B
Dart
22 lines
461 B
Dart
import 'note.dart';
|
|
import 'notes_folder_config.dart';
|
|
import 'notes_folder_notifier.dart';
|
|
|
|
export 'notes_folder_config.dart';
|
|
|
|
abstract class NotesFolder implements NotesFolderNotifier {
|
|
bool get isEmpty;
|
|
bool get hasNotes;
|
|
String get name;
|
|
|
|
List<Note> get notes;
|
|
List<NotesFolder> get subFolders;
|
|
NotesFolder get parent;
|
|
NotesFolder get fsFolder;
|
|
|
|
NotesFolderConfig get config;
|
|
set config(NotesFolderConfig config);
|
|
|
|
String pathSpec();
|
|
}
|