Refactor the document window controller and the prefs controller. Some regression still in there.

This commit is contained in:
Damiano Galassi committed 2018-02-08 17:50:44 +01:00
1 parent 3557220f53
commit 32b347c638
4 files changed
+13 -20

No files matched your search

+3 -10
View File
@@ -119,18 +119,11 @@ typedef void (^MP42FileProgressHandler)(double progress);
- (void)addTrack:(MP42Track *)track;
/**
* Removes a track at the index.
* Removes the passed tracks.
*
* @param index The track index.
* @param tracks A NSArray of tracks.
*/
- (void)removeTrackAtIndex:(NSUInteger)index;
/**
* Removes the tracks at the passed indexes.
*
* @param indexes A NSIndexSet of indexes.
*/
- (void)removeTracksAtIndexes:(NSIndexSet *)indexes;
- (void)removeTracks:(NSArray<MP42Track *> *)tracks;
- (void)moveTrackAtIndex:(NSUInteger)index toIndex:(NSUInteger)newIndex;