Browse Subversion Repository
Annotation of /XspfQT/XspfQTDocument.h
Parent Directory
| Revision Log
Revision 116 -
( hide annotations)
( download)
( as text)
Sun Sep 28 12:05:04 2008 UTC
(15 years, 6 months ago)
by masaki
File MIME type: text/x-chdr
File size: 893 byte(s)
XspfQTPlaylistを追加。
それを使用するように色々変更。
| 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 |
72 |
@interface XspfQTDocument : NSDocument |
| 17 |
masaki |
2 |
{ |
| 18 |
masaki |
116 |
XspfQTComponent* playlist; |
| 19 |
masaki |
72 |
XspfQTMovieWindowController *movieWindowController; |
| 20 |
masaki |
2 |
NSWindowController *playListWindowController; |
| 21 |
|
|
} |
| 22 |
|
|
|
| 23 |
masaki |
33 |
- (IBAction)togglePlayAndPause:(id)sender; |
| 24 |
masaki |
2 |
- (IBAction)showPlayList:(id)sender; |
| 25 |
masaki |
31 |
- (IBAction)dump:(id)sender; |
| 26 |
masaki |
2 |
|
| 27 |
masaki |
72 |
- (XspfQTComponent *)trackList; |
| 28 |
masaki |
2 |
|
| 29 |
|
|
- (void)setPlayTrackindex:(unsigned)index; |
| 30 |
|
|
|
| 31 |
masaki |
86 |
- (void)insertComponent:(XspfQTComponent *)item atIndex:(NSUInteger)index; |
| 32 |
|
|
- (void)removeComponent:(XspfQTComponent *)item; |
| 33 |
masaki |
55 |
|
| 34 |
masaki |
89 |
// throw self, if can not insert. |
| 35 |
|
|
- (void)insertComponentFromURL:(NSURL *)url atIndex:(NSUInteger)index; |
| 36 |
|
|
|
| 37 |
masaki |
2 |
@end |
| 38 |
masaki |
61 |
|
| 39 |
masaki |
72 |
extern NSString *XspfQTDocumentWillCloseNotification; |
|