Warning:
Can't use blame annotator:svn blame failed on /Trunk/ABSortByLogSizePlugin.m: ("Can't find a temporary directory: Internal error", 20014)
Revision 3, 1.1 KB
(checked in by jon, 16 years ago)
|
Initial commit of actual sorting doohickey.
|
Rev | 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/ESDebugAILog.h> |
---|
| 18 | #import <Adium/AISharedAdium.h> |
---|
| 19 | #import <Adium/AIContactControllerProtocol.h> |
---|
| 20 | |
---|
| 21 | @implementation ABSortByLogSizePlugin |
---|
| 22 | |
---|
| 23 | - (void)installPlugin |
---|
| 24 | { |
---|
| 25 | AILog(@"ABSortByLogSizePlugin installed."); |
---|
| 26 | [[adium contactController] registerListSortController:[[[AILogSizeSort alloc] init] autorelease]]; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | - (void)uninstallPlugin |
---|
| 30 | { |
---|
| 31 | AILog(@"ABSortByLogSizePlugin uninstalled."); |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | - (NSString *)pluginAuthor |
---|
| 35 | { |
---|
| 36 | return @"Jon Chambers"; |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | - (NSString *)pluginVersion |
---|
| 40 | { |
---|
| 41 | return @"development"; |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | - (NSString *)pluginDescription |
---|
| 45 | { |
---|
| 46 | return @"Allows the contact list to be sorted by transcript file size."; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | - (NSString *)pluginURL |
---|
| 50 | { |
---|
| 51 | return @"http://projects.eatthepath.com/sort-by-log-size-plugin/"; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | @end |
---|
Download in other formats: