root/Trunk/ABSortByLogSizePlugin.m @ 26

Revision 26, 1.6 KB (checked in by jon, 15 years ago)

Various updates to accommodate API changes in Adium 1.4. Now builds and runs with Adium 1.4, but no longer with 1.3.

  • Property svn:keywords set to Id
Line 
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
28@implementation ABSortByLogSizePlugin
29
30- (void)installPlugin
31{
32        [AISortController registerSortController:[[[AILogSizeSort alloc] init] autorelease]];
33}
34
35- (void)uninstallPlugin
36{
37}
38
39- (NSString *)pluginAuthor
40{
41        return @"Jon Chambers";
42}
43
44- (NSString *)pluginVersion
45{
46        return @"1.1";
47}
48
49- (NSString *)pluginDescription
50{
51        return @"Allows the Adium contact list to be sorted by chat transcript file size.";
52}
53
54- (NSString *)pluginURL
55{
56        return @"http://projects.eatthepath.com/sort-by-log-size-plugin/";
57}
58
59@end
Note: See TracBrowser for help on using the browser.