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

Last change on this file since 622 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
RevLine 
[34]1//
[39]2// NJRQTMediaPopUpButton.h
[34]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>
[533]10#import <QTKit/QTKit.h>
[34]11#import "BDAlias.h"
12
[41]13extern NSString * const NJRQTMediaPopUpButtonMovieChangedNotification;
14
[39]15@interface NJRQTMediaPopUpButton : NSPopUpButton {
[533]16 IBOutlet QTMovieView *preview;
[133]17 BOOL movieCanRepeat, movieHasAudio;
[39]18 NSMenuItem *otherItem;
19 BDAlias *selectedAlias, *previousAlias;
20 NSMutableArray *recentMediaAliasData;
21 BOOL dragAccepted;
[133]22 BOOL savedVolume;
23 float outputVolume;
[34]24}
25
26- (BDAlias *)selectedAlias;
[53]27- (void)setAlias:(BDAlias *)alias;
[133]28- (float)outputVolume;
29- (void)setOutputVolume:(float)volume withPreview:(BOOL)doPreview;
[53]30
[41]31- (BOOL)canRepeat;
[133]32- (BOOL)hasAudio;
[53]33
[34]34- (IBAction)stopSoundPreview:(id)sender;
35
[41]36@end
Note: See TracBrowser for help on using the repository browser.