1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * Adium is the legal property of its developers, whose names are listed in the copyright file included |
---|
5 | * with this source distribution. |
---|
6 | * |
---|
7 | * This plugin is copyright (c) 2008 Jon Chambers. The plugin's official site is: |
---|
8 | * http://projects.eatthepath.com/sort-by-log-size-plugin/ |
---|
9 | * |
---|
10 | * This program is free software; you can redistribute it and/or modify it under the terms of the GNU |
---|
11 | * General Public License as published by the Free Software Foundation; either version 2 of the License, |
---|
12 | * or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
---|
15 | * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
---|
16 | * Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License along with this program; if not, |
---|
19 | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
20 | */ |
---|
21 | |
---|
22 | #import "ABSortByLogSizePlugin.h" |
---|
23 | #import "AILogSizeSort.h" |
---|
24 | |
---|
25 | #import <Adium/AISharedAdium.h> |
---|
26 | #import <Adium/AIContactControllerProtocol.h> |
---|
27 | #import <AIUtilities/AIStringUtilities.h> |
---|
28 | |
---|
29 | @implementation ABSortByLogSizePlugin |
---|
30 | |
---|
31 | - (void)installPlugin |
---|
32 | { |
---|
33 | [AISortController registerSortController:[[[AILogSizeSort alloc] init] autorelease]]; |
---|
34 | } |
---|
35 | |
---|
36 | - (void)uninstallPlugin |
---|
37 | { |
---|
38 | } |
---|
39 | |
---|
40 | - (NSString *)pluginAuthor |
---|
41 | { |
---|
42 | return @"Jon Chambers"; |
---|
43 | } |
---|
44 | |
---|
45 | - (NSString *)pluginVersion |
---|
46 | { |
---|
47 | return @"1.2.1"; |
---|
48 | } |
---|
49 | |
---|
50 | - (NSString *)pluginDescription |
---|
51 | { |
---|
52 | return AILocalizedString(@"Allows the Adium contact list to be sorted by chat transcript file size.", nil); |
---|
53 | } |
---|
54 | |
---|
55 | - (NSString *)pluginURL |
---|
56 | { |
---|
57 | return @"http://projects.eatthepath.com/sort-by-log-size-plugin/"; |
---|
58 | } |
---|
59 | |
---|
60 | @end |
---|