Saves the queue options to disk.

This commit is contained in:
Damiano Galassi committed 2014-03-19 09:13:13 +01:00
1 parent 99553b5dfe
commit 6f71dd9e67
5 files changed
+61 -13

No files matched your search

+9
View File
@@ -123,6 +123,15 @@ NSString *SBPresetManagerUpdatedNotification = @"SBPresetManagerUpdatedNotificat
return noErr;
}
- (MP42Metadata *)setWithName:(NSString *)name {
for (MP42Metadata *set in _presets) {
if ([set.presetName isEqualToString:name]) {
return set;
}
}
return nil;
}
- (BOOL)removePresetAtIndex:(NSUInteger)index
{
NSString *name = [[_presets objectAtIndex:index] presetName];