root/Trunk/AILogSizeSort.h @ 18

Revision 18, 1.3 KB (checked in by jon, 16 years ago)

Re-implemented caching in a less stupid way. Still want to get it intercepting content updates before I declare #2 closed, though. Also did some modest refactoring.

  • 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 <AIUtilities/AITigerCompatibility.h>
23
24#import <Adium/AISortController.h>
25#import <Adium/AIListContact.h>
26
27@interface AILogSizeSort : AISortController
28{
29        NSMutableDictionary *logSizeCache;
30}
31
32-(unsigned long long)getCachedLogSize:(AIListContact *)listContact;
33+(unsigned long long)getContactLogSize:(AIListContact *)listContact;
34
35@end
Note: See TracBrowser for help on using the browser.