cog/Playlist/PlaylistEntry.h

78 lines
1.5 KiB
C
Raw Normal View History

2005-06-02 18:16:43 +00:00
//
// PlaylistEntry.h
// Cog
//
// Created by Vincent Spader on 3/14/05.
2005-07-02 21:02:06 +00:00
// Copyright 2005 Vincent Spader All rights reserved.
2005-06-02 18:16:43 +00:00
//
#import <Cocoa/Cocoa.h>
@interface PlaylistEntry : NSObject {
NSURL *url;
2005-06-02 18:16:43 +00:00
NSString *artist;
NSString *album;
NSString *title;
NSString *genre;
2006-05-12 21:49:51 +00:00
NSString *year;
NSNumber *track;
2005-06-02 18:16:43 +00:00
NSNumber *length;
NSNumber *bitrate;
NSNumber *channels;
NSNumber *bitsPerSample;
NSNumber *sampleRate;
2005-06-02 18:16:43 +00:00
NSNumber *current;
2005-06-02 18:16:43 +00:00
NSNumber *idx;
NSNumber *shuffleIndex;
2005-06-02 18:16:43 +00:00
}
- (void)setIndex:(NSNumber *)i;
- (NSNumber *)index;
2006-04-15 13:51:40 +00:00
- (void)setShuffleIndex:(NSNumber *)si;
- (NSNumber *)shuffleIndex;
2006-04-15 13:51:40 +00:00
- (void)setURL:(NSURL *)u;
- (NSURL *)url;
- (void)setCurrent:(NSNumber *) b;
- (NSNumber *)current;
2005-06-02 18:16:43 +00:00
- (void)setArtist:(NSString *)s;
- (NSString *)artist;
- (void)setAlbum:(NSString *)s;
- (NSString *)album;
- (void)setTitle:(NSString *)s;
- (NSString *)title;
- (void)setGenre:(NSString *)s;
- (NSString *)genre;
- (void)setYear:(NSString *)y;
- (NSString *)year;
- (void)setTrack:(NSNumber *)y;
- (NSNumber *)track;
- (void)setLength:(NSNumber *)l;
- (NSNumber *)length;
2006-05-12 14:53:13 +00:00
- (void)setBitrate:(NSNumber *) br;
- (NSNumber *)bitrate;
- (void)setChannels:(NSNumber *)c;
- (NSNumber *)channels;
- (void)setBitsPerSample:(NSNumber *)bps;
- (NSNumber *)bitsPerSample;
- (void)setSampleRate:(NSNumber *)s;
- (NSNumber *)sampleRate;
2005-06-02 18:16:43 +00:00
- (void)setMetadata: (NSDictionary *)m;
- (void)readMetadataThread;
- (void)setProperties: (NSDictionary *)p;
- (void)readPropertiesThread;
2005-06-02 18:16:43 +00:00
@end