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>
# import "SoundFile.h"
@ interface PlaylistEntry : NSObject {
NSString * filename ;
NSString * display ;
NSString * artist ;
NSString * album ;
NSString * title ;
NSString * genre ;
unsigned int year ;
unsigned int track ;
NSString * lengthString ;
double length ;
int bitRate ;
int channels ;
int bitsPerSample ;
float sampleRate ;
BOOL current ;
2006-04-13 02:51:22 +00:00
int idx ; //Can't use index due to some weird bug...might be fixed...should test in the future...think it was a conflict with flac, which is now an external lib
int shuffleIdx ;
2006-04-15 14:17:46 +00:00
int displayIdx ;
2005-06-02 18:16:43 +00:00
}
- ( void ) setIndex : ( int ) i ;
- ( int ) index ;
2006-04-15 13:51:40 +00:00
- ( void ) setShuffleIndex : ( int ) si ;
- ( int ) shuffleIndex ;
2005-06-02 18:16:43 +00:00
- ( void ) setFilename : ( NSString * ) f ;
- ( NSString * ) filename ;
- ( void ) setDisplay : ( NSString * ) d ;
- ( NSString * ) display ;
- ( void ) setCurrent : ( BOOL ) b ;
- ( BOOL ) current ;
- ( void ) setArtist : ( NSString * ) s ;
- ( NSString * ) artist ;
- ( void ) setAlbum : ( NSString * ) s ;
- ( NSString * ) album ;
- ( void ) setTitle : ( NSString * ) s ;
- ( NSString * ) title ;
- ( void ) setGenre : ( NSString * ) s ;
- ( NSString * ) genre ;
- ( NSString * ) lengthString ;
- ( void ) setLengthString : ( double ) l ;
- ( double ) length ;
- ( int ) bitRate ;
- ( int ) channels ;
- ( int ) bitsPerSample ;
- ( float ) sampleRate ;
- ( void ) readTags ;
- ( void ) readInfo ;
@ end