git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4251 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-02-06 14:17:16 +00:00
parent aea5f8b880
commit e96d11a9af
2 changed files with 9 additions and 11 deletions

View File

@ -22,8 +22,6 @@ with a prune limit. (Project: with the addition of a -keyEnumerator method and
sutiable NSEnumerator subclass, and a -count method, it could be turned into a
subclass of NSMutableDictionary.)
Default and minimum prune threshold values are specified in OOCacheManager.h.
Oolite
Copyright (C) 2004-2011 Giles C Williams and contributors
@ -48,6 +46,14 @@ MA 02110-1301, USA.
#import <Foundation/Foundation.h>
enum
{
kOOCacheMinimumPruneThreshold = 25U,
kOOCacheDefaultPruneThreshold = 200U,
kOOCacheNoPrune = 0xFFFFFFFFU
};
@interface OOCache: NSObject
{
@private

View File

@ -3,7 +3,7 @@
OOCacheManager.h
By Jens Ayton
Singleton class responsible for handling Olite's data cache.
Singleton class responsible for handling Oolite's data cache.
The cache manager stores arbitrary property lists in separate namespaces
(referred to simply as caches). The cache is emptied if it was created with a
different verison of Oolite, or if it was created on a system with a different
@ -32,14 +32,6 @@ MA 02110-1301, USA.
#import "OOCocoa.h"
enum
{
kOOCacheMinimumPruneThreshold = 25U,
kOOCacheDefaultPruneThreshold = 200U,
kOOCacheNoPrune = 0xFFFFFFFFU
};
@interface OOCacheManager: NSObject
{
@private