blob: 2240a21319332506512c5e4c45fdc6d70b5b4312 [file] [log] [blame]
Alexandre Lision2db8f472015-07-22 15:05:46 -04001/*
Alexandre Lision9fe374b2016-01-06 10:17:31 -05002 * Copyright (C) 2015-2016 Savoir-faire Linux Inc.
Alexandre Lision2db8f472015-07-22 15:05:46 -04003 * Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Alexandre Lision2db8f472015-07-22 15:05:46 -040018 */
19
Alexandre Lision9fe374b2016-01-06 10:17:31 -050020
Alexandre Lision2db8f472015-07-22 15:05:46 -040021#import <Cocoa/Cocoa.h>
22
23@protocol ContactLinkedDelegate;
24@protocol ContactLinkedDelegate
25
26@optional
27
28-(void) contactLinked;
29
30@end
31
32class ContactMethod;
33
34@interface PersonLinkerVC : NSViewController <NSOutlineViewDelegate>
35
36@property ContactMethod* const methodToLink;
37
38/*
39 * Delegate to inform about completion of the linking process between
40 * a ContactMethod and a Person.
41 */
42@property (nonatomic) id <ContactLinkedDelegate> contactLinkedDelegate;
43
44@end