ca, fr, fr_CA, and it updates
[adiumx.git] / Source / BGICImportController.h
blobdd5065c56b292097391e829128b6cee1c5a6bf2e
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.
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.
17 #import <Adium/Adium.h>
18 #import "SetupWizardBackgroundView.h"
20 @class BGICLogImportController, AWBonjourService;
22 // overall manager for iChat importing
23 @interface BGICImportController : AIWindowController {
24 IBOutlet NSTextField *titleField;
25 IBOutlet NSTabView *loggingPanes;
26 IBOutlet NSTabView *assistantPanes;
27 IBOutlet NSButton *proceedButton;
28 IBOutlet NSButton *backButton;
29 IBOutlet SetupWizardBackgroundView *backgroundView;
31 IBOutlet NSButton *importAccountsButton;
32 IBOutlet NSButton *importStatusButton;
33 IBOutlet NSButton *createStatusGroupsButton;
34 IBOutlet NSButton *importLogsButton;
36 IBOutlet NSTextField *importDetails;
37 IBOutlet NSProgressIndicator *importProgress;
38 IBOutlet NSTextField *accountSelectionLabel;
39 IBOutlet NSPopUpButton *accountSelectionPopup;
40 IBOutlet NSButton *deleteLogsButton;
41 IBOutlet NSButton *cancelImportButton;
43 IBOutlet NSProgressIndicator *importStatusProgress;
44 IBOutlet NSTextField *importStatusDetails;
46 IBOutlet NSProgressIndicator *importAccountsProgress;
47 IBOutlet NSTextField *importAccountsDetails;
49 IBOutlet NSWindow *bonjourNamePromptWindow;
50 IBOutlet NSTextField *bonjourAccountNameField;
53 BGICLogImportController *logImporter;
55 AWBonjourService *bonjourService;
57 int currentStep;
59 NSString *destinationAccount;
60 NSMutableArray *accountsArray;
62 NSArray *fullDump;
63 int dumpCount, dumpLoop;
64 BOOL cancelImport;
66 BOOL blockForBonjour;
67 BOOL bonjourAutoLogin;
70 + (void)importIChatConfiguration;
72 -(IBAction)goBack:(id)sender;
73 -(IBAction)proceed:(id)sender;
75 -(IBAction)openHelp:(id)sender;
77 -(IBAction)cancelLogImport:(id)sender;
78 -(IBAction)deleteLogs:(id)sender;
79 -(IBAction)selectLogAccountDestination:(id)sender;
81 -(IBAction)completeBonjourCreation:(id)sender;
83 @end