This repository has been archived by the owner on Jun 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApertureToBlip.h
75 lines (60 loc) · 2.16 KB
/
ApertureToBlip.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
72
73
74
75
//
// Blipfoto.h
// Blipfoto
//
// Created by Graham Bradley on 06/02/2011.
// Copyright __MyCompanyName__ 2011. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import "ApertureExportManager.h"
#import "ApertureExportPlugIn.h"
#import "DataController.h"
#import "API.h"
@interface ApertureToBlip : NSObject <ApertureExportPlugIn, NSTextFieldDelegate> {
// The cached API Manager object, as passed to the -initWithAPIManager: method.
id _apiManager;
// The cached Aperture Export Manager object - you should fetch this from the API Manager during -initWithAPIManager:
NSObject<ApertureExportManager, PROAPIObject> *_exportManager;
// The lock used to protect all access to the ApertureExportProgress structure
NSLock *_progressLock;
// Top-level objects in the nib are automatically retained - this array
// tracks those, and releases them
NSArray *_topLevelNibObjects;
// The structure used to pass all progress information back to Aperture
ApertureExportProgress exportProgress;
// Outlets to your plug-ins user interface
IBOutlet NSView *settingsView;
IBOutlet NSView *firstView;
IBOutlet NSView *lastView;
IBOutlet NSPopUpButton *entrySelector;
IBOutlet NSTextField *entryDate;
IBOutlet NSTextField *entryTitle;
IBOutlet NSTextField *entryDesc;
IBOutlet NSTextField *entryTags;
IBOutlet NSImageView *entryThumbnail;
IBOutlet NSTextField *connectLabel;
IBOutlet NSButton *connectButton;
IBOutlet NSTextField *tempToken;
IBOutlet NSButton *visitJournal;
IBOutlet NSButton *italicButton;
IBOutlet NSButton *underlineButton;
IBOutlet NSButton *boldButton;
IBOutlet NSButton *strikeButton;
IBOutlet NSButton *linkButton;
NSMutableArray *entries;
DataController *dataController;
API *api;
BOOL uploading;
int uploadCount;
NSString *uploadedEntryId;
NSMutableArray *uploadLog;
}
@property (copy, nonatomic) DataController *dataController;
@property (copy, nonatomic) API *api;
@property (retain) NSMutableArray *entries;
- (IBAction) switchImage:(id)sender;
- (IBAction) connectButtonPressed:(id)sender;
- (IBAction) formattingButtonPressed:(id)sender;
- (void) updateEntryOptions:(int) index;
@end