Browse Subversion Repository
Annotation of /XspfQT/XspfQTDocument.h
Parent Directory
| Revision Log
Revision 182 -
( hide annotations)
( download)
( as text)
Mon Mar 16 16:06:23 2009 UTC
(15 years, 1 month ago)
by masaki
File MIME type: text/x-chdr
File size: 1083 byte(s)
次のムービーをプリロードする機能を付けた。
| 1 |
masaki |
2 |
// |
| 2 |
masaki |
72 |
// XspfQTDocument.h |
| 3 |
masaki |
2 |
// XspfQT |
| 4 |
|
|
// |
| 5 |
|
|
// Created by Hori,Masaki on 08/08/29. |
| 6 |
|
|
// Copyright masakih 2008 . All rights reserved. |
| 7 |
|
|
// |
| 8 |
|
|
|
| 9 |
|
|
|
| 10 |
|
|
#import <Cocoa/Cocoa.h> |
| 11 |
|
|
#import <QTKit/QTKit.h> |
| 12 |
|
|
|
| 13 |
masaki |
72 |
@class XspfQTComponent; |
| 14 |
|
|
@class XspfQTMovieWindowController; |
| 15 |
masaki |
2 |
|
| 16 |
masaki |
182 |
@class XspfQTMovieLoader; |
| 17 |
masaki |
171 |
@class QTMovie; |
| 18 |
|
|
|
| 19 |
masaki |
72 |
@interface XspfQTDocument : NSDocument |
| 20 |
masaki |
2 |
{ |
| 21 |
masaki |
116 |
XspfQTComponent* playlist; |
| 22 |
masaki |
72 |
XspfQTMovieWindowController *movieWindowController; |
| 23 |
masaki |
2 |
NSWindowController *playListWindowController; |
| 24 |
masaki |
171 |
|
| 25 |
|
|
QTMovie *playingMovie; |
| 26 |
masaki |
182 |
XspfQTMovieLoader *loader; |
| 27 |
|
|
NSTimeInterval playingMovieDuration; |
| 28 |
|
|
|
| 29 |
|
|
NSTimer *preloadingTimer; |
| 30 |
|
|
BOOL didPreloading; |
| 31 |
masaki |
2 |
} |
| 32 |
|
|
|
| 33 |
masaki |
33 |
- (IBAction)togglePlayAndPause:(id)sender; |
| 34 |
masaki |
2 |
- (IBAction)showPlayList:(id)sender; |
| 35 |
masaki |
31 |
- (IBAction)dump:(id)sender; |
| 36 |
masaki |
2 |
|
| 37 |
masaki |
72 |
- (XspfQTComponent *)trackList; |
| 38 |
masaki |
2 |
|
| 39 |
masaki |
181 |
//- (void)setPlayingTrackIndex:(unsigned)index; |
| 40 |
masaki |
2 |
|
| 41 |
masaki |
86 |
- (void)insertComponent:(XspfQTComponent *)item atIndex:(NSUInteger)index; |
| 42 |
|
|
- (void)removeComponent:(XspfQTComponent *)item; |
| 43 |
masaki |
55 |
|
| 44 |
masaki |
89 |
// throw self, if can not insert. |
| 45 |
|
|
- (void)insertComponentFromURL:(NSURL *)url atIndex:(NSUInteger)index; |
| 46 |
|
|
|
| 47 |
masaki |
2 |
@end |
| 48 |
masaki |
61 |
|
| 49 |
masaki |
72 |
extern NSString *XspfQTDocumentWillCloseNotification; |
|