-
Notifications
You must be signed in to change notification settings - Fork 1
/
AppController.h
71 lines (48 loc) · 1.71 KB
/
AppController.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//
// AppController.h
// GPSLogger
//
// Created by German Laullon on 30/09/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
@class SideBarDataSource;
@class PhotoNode;
@class TrackNode;
@class GPSPoint;
@interface AppController : NSObject <NSOutlineViewDelegate> {
IBOutlet NSWindow *mainWindow;
IBOutlet NSTextFieldCell *timeOffsetTXT;
IBOutlet NSSlider *timeOffset;
IBOutlet NSPopUpButton *timeZones;
IBOutlet WebView *web;
IBOutlet NSImageView *imageViewer;
PhotoNode *selectedPhoto;
TrackNode *selectedTrack;
NSDateFormatter *sISO8601;
IBOutlet __weak SideBarDataSource *sideBarDS;
IBOutlet __weak NSOutlineView *sideBar;
}
- (IBAction)readFromLoggerAction:(id)sender;
- (IBAction)addImagesAction:(id)sender;
- (IBAction)setPrecisionOffSet:(id)sender;
- (void)_applyGeoTags:(PhotoNode *)photo;
- (BOOL)setDateDigitized:(GPSPoint *)date forPhotoWithURL:(NSURL *)URL;
- (IBAction)applyGeoTags:(id)sender;
- (void)applyGeoTags;
- (IBAction)exportToKML:(id) sender;
- (IBAction)exportToGPX:(id) sender;
- (void)positionImages;
- (void)updateTrack:(TrackNode *)node;
- (void)awakeFromNib;
- (NSNumber *)calcAngle:(long)angle;
- (NSDate *)calcDate:(long) date;
- (NSString *)encode:(double)pos;
- (void)webView:(WebView *)sender setStatusText:(NSString *)text;
- (void)webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame;
- (void)webView:(WebView *)sender didClearWindowObject:(WebScriptObject *)windowObject forFrame:(WebFrame *)frame;
+ (BOOL)isSelectorExcludedFromWebScript:(SEL)selector;
- (void)selectPhoto:(PhotoNode *)ph;
- (IBAction)updateTimeOffset:(id)sender;
@end