[Fix] レガシーランタイムでも動くように修正。
@@ -10,6 +10,12 @@ | ||
10 | 10 | |
11 | 11 | @class HMXSPFComponent; |
12 | 12 | @interface HMXSPFTreeController : NSTreeController |
13 | +#ifndef __LP64__ | |
14 | +{ | |
15 | + NSIndexPath *_playedIndexPath; | |
16 | + HMXSPFComponent *_component; | |
17 | +} | |
18 | +#endif | |
13 | 19 | |
14 | 20 | @property (readonly) HMXSPFComponent *playedComponent; |
15 | 21 | @property (retain) NSIndexPath *playedIndexPath; |
@@ -64,6 +64,13 @@ | ||
64 | 64 | |
65 | 65 | |
66 | 66 | @interface HMXSPFTrack : HMXSPFComponent |
67 | +#ifndef __LP64__ | |
68 | +{ | |
69 | + NSURL *_location; | |
70 | + NSDate *_duration; | |
71 | + BOOL _isPlayed; | |
72 | +} | |
73 | +#endif | |
67 | 74 | |
68 | 75 | @property (retain) NSURL *location; |
69 | 76 | @property (assign) NSString *locationString; |
@@ -65,6 +65,14 @@ | ||
65 | 65 | |
66 | 66 | |
67 | 67 | @interface HMXSPFContainerComponent : HMXSPFComponent |
68 | +#ifndef __LP64__ | |
69 | +{ | |
70 | + NSMutableArray *_children; | |
71 | + NSUInteger _selectionIndex; | |
72 | + HMXSPFComponent *_selectedComponent; | |
73 | + HMXSPFComponent *_currentTrack; | |
74 | +} | |
75 | +#endif | |
68 | 76 | |
69 | 77 | - (id)init; |
70 | 78 |
@@ -247,7 +247,7 @@ | ||
247 | 247 | } |
248 | 248 | - (void)setSelectionIndex:(NSUInteger)index |
249 | 249 | { |
250 | - NSLog(@"%lu", index); | |
250 | + NSLog(@"%lu", (long)index); | |
251 | 251 | } |
252 | 252 | - (BOOL)isEqual:(id)other |
253 | 253 | { |
@@ -65,5 +65,11 @@ | ||
65 | 65 | |
66 | 66 | |
67 | 67 | @interface HMXSPFPlaylist : HMXSPFContainerComponent |
68 | +#ifndef __LP64__ | |
69 | +{ | |
70 | + NSUInteger _thumbnailTrackNum; | |
71 | + NSTimeInterval _thumbnailTimeInterval; | |
72 | +} | |
73 | +#endif | |
68 | 74 | |
69 | 75 | @end |
@@ -65,6 +65,12 @@ | ||
65 | 65 | @interface HMXSPFComponent : NSObject <NSCoding> |
66 | 66 | { |
67 | 67 | NSIndexPath *_selectionIndexPath; |
68 | + | |
69 | +#ifndef __LP64__ | |
70 | + NSString *_title; | |
71 | + BOOL _isSelected; | |
72 | + HMXSPFComponent *_parent; // not retained. | |
73 | +#endif | |
68 | 74 | } |
69 | 75 | |
70 | 76 | + (id)xspfPlaylist; |