Use initialize, not load, wherever possible.
[adiumx.git] / Source / AdiumAccounts.h
blob5d06933f38001c6ee066c1d409022eb3fb169a0e
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/AIObject.h>
19 @class AIService, AIAccount;
21 @interface AdiumAccounts : AIObject {
22 NSMutableArray *accounts;
23 NSMutableArray *unloadableAccounts;
26 - (void)controllerDidLoad;
28 //Accounts
29 - (NSArray *)accounts;
30 - (NSArray *)accountsCompatibleWithService:(AIService *)service;
31 - (AIAccount *)accountWithInternalObjectID:(NSString *)objectID;
33 //Editing
34 - (AIAccount *)createAccountWithService:(AIService *)service UID:(NSString *)inUID;
35 - (void)addAccount:(AIAccount *)inAccount;
36 - (void)deleteAccount:(AIAccount *)inAccount;
37 - (int)moveAccount:(AIAccount *)account toIndex:(int)destIndex;
38 - (void)accountDidChangeUID:(AIAccount *)account;
40 @end