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 <AIUtilities/AITigerCompatibility.h> |
---|
26 | |
---|
27 | #import <Adium/AISharedAdium.h> |
---|
28 | #import <Adium/AIContactControllerProtocol.h> |
---|
29 | |
---|
30 | @implementation ABSortByLogSizePlugin |
---|
31 | |
---|
32 | - (void)installPlugin |
---|
33 | { |
---|
34 | [[adium contactController] registerListSortController:[[[AILogSizeSort alloc] init] autorelease]]; |
---|
35 | } |
---|
36 | |
---|
37 | - (void)uninstallPlugin |
---|
38 | { |
---|
39 | } |
---|
40 | |
---|
41 | - (NSString *)pluginAuthor |
---|
42 | { |
---|
43 | return @"Jon Chambers"; |
---|
44 | } |
---|
45 | |
---|
46 | - (NSString *)pluginVersion |
---|
47 | { |
---|
48 | return @"1.1"; |
---|
49 | } |
---|
50 | |
---|
51 | - (NSString *)pluginDescription |
---|
52 | { |
---|
53 | return @"Allows the Adium contact list to be sorted by chat transcript file size."; |
---|
54 | } |
---|
55 | |
---|
56 | - (NSString *)pluginURL |
---|
57 | { |
---|
58 | return @"http://projects.eatthepath.com/sort-by-log-size-plugin/"; |
---|
59 | } |
---|
60 | |
---|
61 | @end |
---|