forked from gonzoua/AudioBookBinder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
AudioFile.h
37 lines (29 loc) · 943 Bytes
/
AudioFile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// AudioFile.h
// AudioBookBinder
//
// Created by Oleksandr Tymoshenko on 10-02-06.
// Copyright 2010 Bluezbox Software. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AudioFile : NSObject {
NSString *filePath;
NSString *file;
NSNumber *duration;
NSString *artist, *name, *album, *albumArtist, *genre, *composer;
BOOL valid;
NSMutableDictionary *properties;
}
@property(readwrite, copy) NSMutableDictionary *properties;
@property(readwrite, copy) NSString *filePath;
@property(readwrite, copy) NSString *file;
@property(readwrite, copy) NSNumber *duration;
@property(readwrite, assign) BOOL valid;
@property(readwrite, copy) NSString *name;
- (id) initWithPath:(NSString*)path;
- (void) dealloc;
// private function
- (NSString*) getPropertyFromAudioFile: (NSString *)propName;
- (NSString*) getPropertyFromAudioFile: (NSString *)propName: (NSDictionary *)properties;
- (void) updateInfo;
@end