The PlaylistEntry class needs a compatibility wrapper for the Unsigned member, as it is assigned by all of the inputs. Case sensitivity and all that is. And unfortunately, Core Data requires all model members to start with a lower case letter. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
70 lines
2.4 KiB
Objective-C
70 lines
2.4 KiB
Objective-C
//
|
|
// PlaylistEntry.h
|
|
// Cog
|
|
//
|
|
// Created by Vincent Spader on 3/14/05.
|
|
// Copyright 2005 Vincent Spader All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "Cog-Swift.h"
|
|
|
|
@interface PlaylistEntry (Extension)
|
|
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingTitle;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingDisplay;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingLength;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingPath;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingFilename;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingStatus;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingStatusMessage;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingSpam;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingIndexedSpam;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingAlbumArt;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingTrackText;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingLengthText;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingYearText;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingCuesheetPresent;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingGainCorrection;
|
|
+ (NSSet *_Nonnull)keyPathsForValuesAffectingUnsigned;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull display;
|
|
@property(nonatomic, retain, readonly) NSNumber *_Nonnull length;
|
|
@property(nonatomic, readonly) NSString *_Nonnull path;
|
|
@property(nonatomic, readonly) NSString *_Nonnull filename;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull spam;
|
|
@property(nonatomic, readonly) NSString *_Nonnull indexedSpam;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull positionText;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull lengthText;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull yearText;
|
|
|
|
@property(nonatomic) NSString *_Nonnull title;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull trackText;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull cuesheetPresent;
|
|
|
|
@property(nonatomic, retain, readonly) NSImage *_Nullable albumArt;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull gainCorrection;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nonnull gainInfo;
|
|
|
|
@property(nonatomic, readonly) NSString *_Nullable status;
|
|
@property(nonatomic, readonly) NSString *_Nullable statusMessage;
|
|
|
|
@property(nonatomic) NSURL *_Nullable url;
|
|
@property(nonatomic) NSURL *_Nullable trashUrl;
|
|
|
|
@property(nonatomic) NSData *_Nullable albumArtInternal;
|
|
|
|
@property(nonatomic) BOOL Unsigned;
|
|
|
|
- (void)setMetadata:(NSDictionary *_Nonnull)metadata;
|
|
|
|
@end
|