mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
845a701069
commit
24d43481a8
138 changed files with 2094 additions and 1536 deletions
|
@ -101,23 +101,23 @@ static NSURLCache *shared = nil;
|
|||
return [this->memory objectForKey: request];
|
||||
}
|
||||
|
||||
- (unsigned) currentDiskUsage
|
||||
- (NSUInteger) currentDiskUsage
|
||||
{
|
||||
return this->diskUsage;
|
||||
}
|
||||
|
||||
- (unsigned) currentMemoryUsage
|
||||
- (NSUInteger) currentMemoryUsage
|
||||
{
|
||||
return this->memoryUsage;
|
||||
}
|
||||
|
||||
- (unsigned) diskCapacity
|
||||
- (NSUInteger) diskCapacity
|
||||
{
|
||||
return this->diskCapacity;
|
||||
}
|
||||
|
||||
- (id) initWithMemoryCapacity: (unsigned)memoryCapacity
|
||||
diskCapacity: (unsigned)diskCapacity
|
||||
- (id) initWithMemoryCapacity: (NSUInteger)memoryCapacity
|
||||
diskCapacity: (NSUInteger)diskCapacity
|
||||
diskPath: (NSString *)path
|
||||
{
|
||||
if ((self = [super init]) != nil)
|
||||
|
@ -132,7 +132,7 @@ static NSURLCache *shared = nil;
|
|||
return self;
|
||||
}
|
||||
|
||||
- (unsigned) memoryCapacity
|
||||
- (NSUInteger) memoryCapacity
|
||||
{
|
||||
return this->memoryCapacity;
|
||||
}
|
||||
|
@ -157,13 +157,13 @@ static NSURLCache *shared = nil;
|
|||
}
|
||||
}
|
||||
|
||||
- (void) setDiskCapacity: (unsigned)diskCapacity
|
||||
- (void) setDiskCapacity: (NSUInteger)diskCapacity
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
// FIXME
|
||||
}
|
||||
|
||||
- (void) setMemoryCapacity: (unsigned)memoryCapacity
|
||||
- (void) setMemoryCapacity: (NSUInteger)memoryCapacity
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
// FIXME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue