-
Notifications
You must be signed in to change notification settings - Fork 0
/
MyDocument.h
46 lines (32 loc) · 977 Bytes
/
MyDocument.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
//
// MyDocument.h
// nsdocumenttest
//
// Created by fin del kind on 2/2/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
#import <Quartz/Quartz.h>
#import "aeWebViewDelegate.h"
#import "MyImage.h"
@interface MyDocument : NSDocument
{
NSString *filename;
IBOutlet WebView * webView;
IBOutlet NSImageView * mImageView;
IBOutlet aeWebViewDelegate * webViewDelegate;
IBOutlet NSArrayController * images;
IBOutlet NSWindow *window;
NSMutableArray * mImportedImages;
FSEventStreamRef stream;
NSNumber* lastEventId;
}
@property(readwrite, retain) NSString *filename;
- (void) initializeEventStream;
- (void) addAnImageWithPath:(NSString *) path;
- (void) updateDatasource;
- (void) addImagesWithPath:(NSString *)path recursive:(BOOL) recursive;
@property(readwrite,retain) NSNumber *lastEventId;
@property(readonly,retain) NSArrayController *images;
@end