tagging release
[dasher.git] / Src / MacOSX / ZippyCache.h
blobcc3cd8e078ff4a6f8929eae072c7e9b225715b28
1 //
2 // ZippyCache.h
3 // RectAl
4 //
5 // Created by Doug Dickinson on Mon May 26 2003.
6 // Copyright (c) 2003 Doug Dickinson (dasher@DressTheMonkey.plus.com). All rights reserved.
7 //
9 #import <Foundation/NSObject.h>
10 #import <Foundation/NSGeometry.h>
12 @ class ZippyString;
13 @class NSMutableDictionary, NSString, NSDictionary, NSNumber;
15 @interface ZippyCache:NSObject {
16 NSMutableDictionary *_cache;
17 NSString *latestString;
18 int latestSize;
19 ZippyString *latestZippyString;
22 +zippyCache;
24 -(ZippyString *) zippyStringWithString:(NSString *)
25 aString size:(int)
26 aSize attributes:(NSDictionary *) someAttributes;
28 -(NSNumber *)sizeKeyForSize:(int)aSize;
30 -(NSMutableDictionary *)cache;
31 -(void)setCache:(NSMutableDictionary *)newCache;
33 @end