-
Notifications
You must be signed in to change notification settings - Fork 2
/
ABDetailedKeyInfoController.h
47 lines (36 loc) · 1.26 KB
/
ABDetailedKeyInfoController.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
//
// ABDetailedKeyInfoController.h
// ABKeyManager
//
// Created by Robert Goldsmith on 27/01/2005.
// Copyright 2005 Far-Blue. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <AddressBook/AddressBook.h>
#import <MacGPGME/MacGPGME.h>
@interface ABDetailedKeyInfoController : NSObject
{
ABPerson *person;
NSArray *keys;
GPGContext *context;
IBOutlet NSWindow *infoSheet;
IBOutlet NSTextField *personName;
IBOutlet NSArrayController *keyController;
IBOutlet NSProgressIndicator *refreshIndicator;
IBOutlet NSButton *refreshButton;
}
+(void)displayDetailedKeyInfoSheetForPerson:(ABPerson *)newPerson identifier:(id)identifier inWindow:(NSWindow *)theWindow;
-(id)initWithPerson:(ABPerson *)newPerson;
-(NSArray *)keys;
-(IBAction)nextKey:(id)sender;
-(IBAction)previousKey:(id)sender;
-(IBAction)refresh:(id)sender;
//*******************************************************************
//Sheet controls
-(void)displayInfoSheetForIdentifier:(id)identifier inWindow:(NSWindow *)theWindow;
-(IBAction)infoSheetClose:(id)sender;
-(void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo;
//*******************************************************************
//Bindings
-(id)valueForUndefinedKey:(NSString *)key;
@end