-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMediaViewer.h
52 lines (38 loc) · 1.09 KB
/
MediaViewer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// MediaViewer.h
// SproutedInterface
//
// Created by Philip Dow on xx.
// Copyright Sprouted. All rights reserved.
// Inquiries should be directed to [email protected]
//
#import <Cocoa/Cocoa.h>
@class MediaContentController;
/*
@class AudioViewController;
@class MovieViewController;
@class WebViewController;
@class PDFViewController;
@class ImageViewController;
@class AddressRecordController;
*/
@interface MediaViewer : NSWindowController
{
NSURL *homeURL;
MediaContentController *_contentController;
IBOutlet NSView *contentPlaceholder;
}
+ (BOOL) canDisplayMediaOfType:(NSString*)uti url:(NSURL*)aURL;
- (id) initWithURL:(NSURL*)url uti:(NSString*)uti;
- (id) representedObject;
- (void) setRepresentedObject:(id)anObject;
- (MediaContentController*) contentController;
- (BOOL) highlightString:(NSString*)aString;
- (IBAction) printDocument:(id)sender;
- (IBAction) save:(id)sender;
- (IBAction) exportSelection:(id)sender;
@end
@interface MediaViewer (CustomMenuSupport)
- (void) performCustomFindPanelAction:(id)sender;
- (void) performCustomTextSizeAction:(id)sender;
@end