root/Trunk/AILogSizeSort.h

Revision 24, 1.5 KB (checked in by jon, 13 years ago)

Made some infrastructural changes to build against the Adium 1.4 frameworks; no functional changes yet.

  • 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 <Adium/AISortController.h>
23#import <Adium/AIListContact.h>
24
25@interface AILogSizeSort : AISortController
26{
27        NSMutableDictionary *logSizeCache;
28}
29
30// Cache operations
31-(void)createCacheEntryIfNil:(AIListContact *)listContact;
32-(void)removeCacheEntry:(AIListContact *)listContact;
33
34// Event handlers
35-(void)contentObjectAdded:(NSNotification *)notification;
36
37// Log operations
38-(unsigned long long)getCachedLogSize:(AIListContact *)listContact;
39+(unsigned long long)getContactLogSize:(AIListContact *)listContact;
40
41@end
Note: See TracBrowser for help on using the browser.