Last change
on this file since 430 was 53, checked in by Nicholas Riley, 22 years ago |
Updated for Pester 1.1a5 (very limited release).
Pester 1.1a4 was never released.
|
File size:
595 bytes
|
Line | |
---|
1 | //
|
---|
2 | // NJRVoicePopUpButton.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 "SUSpeaker.h"
|
---|
11 |
|
---|
12 | @interface NJRVoicePopUpButton : NSPopUpButton {
|
---|
13 | id _delegate;
|
---|
14 | SUSpeaker *_speaker;
|
---|
15 | }
|
---|
16 |
|
---|
17 | - (void)setVoice:(NSString *)voice;
|
---|
18 |
|
---|
19 | - (id)delegate;
|
---|
20 | - (void)setDelegate:(id)delegate;
|
---|
21 |
|
---|
22 | - (IBAction)stopVoicePreview:(id)sender;
|
---|
23 |
|
---|
24 | @end
|
---|
25 |
|
---|
26 | @interface NSObject (NJRVoicePopUpButtonDelegate)
|
---|
27 |
|
---|
28 | - (NSString *)voicePopUpButton:(NJRVoicePopUpButton *)sender previewStringForVoice:(NSString *)voice;
|
---|
29 |
|
---|
30 | @end |
---|
Note:
See
TracBrowser
for help on using the repository browser.