| 1 | /* |
---|
| 2 | * Adium is the legal property of its developers, whose names are listed in the copyright file included |
---|
| 3 | * with this source distribution. |
---|
| 4 | * |
---|
| 5 | * This program is free software; you can redistribute it and/or modify it under the terms of the GNU |
---|
| 6 | * General Public License as published by the Free Software Foundation; either version 2 of the License, |
---|
| 7 | * or (at your option) any later version. |
---|
| 8 | * |
---|
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
---|
| 10 | * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
---|
| 11 | * Public License for more details. |
---|
| 12 | * |
---|
| 13 | * You should have received a copy of the GNU General Public License along with this program; if not, |
---|
| 14 | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #import <Adium/AIWindowController.h> |
---|
| 18 | |
---|
| 19 | @class AIImageTextCellView, AIActionDetailsPane; |
---|
| 20 | |
---|
| 21 | @interface CSNewContactAlertWindowController : AIWindowController { |
---|
| 22 | IBOutlet NSView *view_auxiliary; |
---|
| 23 | IBOutlet NSPopUpButton *popUp_event; |
---|
| 24 | IBOutlet NSPopUpButton *popUp_action; |
---|
| 25 | |
---|
| 26 | IBOutlet NSButton *checkbox_oneTime; |
---|
| 27 | |
---|
| 28 | IBOutlet NSButton *button_OK; |
---|
| 29 | IBOutlet NSButton *button_cancel; |
---|
| 30 | IBOutlet NSTextField *label_Event; |
---|
| 31 | IBOutlet NSTextField *label_Action; |
---|
| 32 | |
---|
| 33 | AIActionDetailsPane *detailsPane; |
---|
| 34 | NSView *detailsView; |
---|
| 35 | NSMutableDictionary *alert; |
---|
| 36 | |
---|
| 37 | id target; |
---|
| 38 | id delegate; |
---|
| 39 | NSDictionary *oldAlert; |
---|
| 40 | |
---|
| 41 | AIListObject *listObject; |
---|
| 42 | |
---|
| 43 | BOOL configureForGlobal; |
---|
| 44 | |
---|
| 45 | IBOutlet AIImageTextCellView *headerView; |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | + (void)editAlert:(NSDictionary *)inAlert |
---|
| 49 | forListObject:(AIListObject *)inObject |
---|
| 50 | onWindow:(NSWindow *)parentWindow |
---|
| 51 | notifyingTarget:(id)inTarget |
---|
| 52 | delegate:(id)inDelegate |
---|
| 53 | oldAlert:(id)inOldAlert |
---|
| 54 | configureForGlobal:(BOOL)inConfigureForGlobal |
---|
| 55 | defaultEventID:(NSString *)defaultEventID; |
---|
| 56 | |
---|
| 57 | - (IBAction)cancel:(id)sender; |
---|
| 58 | - (IBAction)save:(id)sender; |
---|
| 59 | |
---|
| 60 | @end |
---|