root/Trunk/ABSortByLogSizePlugin.m @ 15

Revision 15, 0.9 KB (checked in by jon, 16 years ago)

Simplified the comparison routine to just use primitive numbers instead of NSNumbers. Changed the description string to use more Adium-y terminology.

Line 
1//
2//  ABSortByLogSizePlugin.m
3//  SortByLogSizePlugin
4//
5//  Created by Jon Chambers on 9/28/08.
6//  Copyright 2008 Jon Chambers. All rights reserved.
7//
8
9// Important note:
10// http://adiumx.com/pipermail/adium-devl_adiumx.com/2008-September/005692.html
11
12#import "ABSortByLogSizePlugin.h"
13#import "AILogSizeSort.h"
14
15#import <AIUtilities/AITigerCompatibility.h>
16
17#import <Adium/AISharedAdium.h>
18#import <Adium/AIContactControllerProtocol.h>
19
20@implementation ABSortByLogSizePlugin
21
22- (void)installPlugin
23{
24        [[adium contactController] registerListSortController:[[[AILogSizeSort alloc] init] autorelease]];
25}
26
27- (void)uninstallPlugin
28{
29}
30
31- (NSString *)pluginAuthor
32{
33        return @"Jon Chambers";
34}
35
36- (NSString *)pluginVersion
37{
38        return @"1.0";
39}
40
41- (NSString *)pluginDescription
42{
43        return @"Allows the Adium contact list to be sorted by chat transcript file size.";
44}
45
46- (NSString *)pluginURL
47{
48        return @"http://projects.eatthepath.com/sort-by-log-size-plugin/";
49}
50
51@end
Note: See TracBrowser for help on using the browser.