source: trunk/Cocoa/Pester/Source/NJRQTMediaPopUpButton.h@ 625

Last change on this file since 625 was 533, checked in by Nicholas Riley, 15 years ago

Restore sound selector; move most of the preview functionality (excluding validation) to QTKit as NSMovieView and QuickTime are deprecated. Hopefully this will improve stability as well.

File size: 851 bytes
Line 
1//
2// NJRQTMediaPopUpButton.h
3// Pester
4//
5// Created by Nicholas Riley on Sat Oct 26 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
10#import <QTKit/QTKit.h>
11#import "BDAlias.h"
12
13extern NSString * const NJRQTMediaPopUpButtonMovieChangedNotification;
14
15@interface NJRQTMediaPopUpButton : NSPopUpButton {
16 IBOutlet QTMovieView *preview;
17 BOOL movieCanRepeat, movieHasAudio;
18 NSMenuItem *otherItem;
19 BDAlias *selectedAlias, *previousAlias;
20 NSMutableArray *recentMediaAliasData;
21 BOOL dragAccepted;
22 BOOL savedVolume;
23 float outputVolume;
24}
25
26- (BDAlias *)selectedAlias;
27- (void)setAlias:(BDAlias *)alias;
28- (float)outputVolume;
29- (void)setOutputVolume:(float)volume withPreview:(BOOL)doPreview;
30
31- (BOOL)canRepeat;
32- (BOOL)hasAudio;
33
34- (IBAction)stopSoundPreview:(id)sender;
35
36@end
Note: See TracBrowser for help on using the repository browser.