o added -cachedBundleForFrameworkNamed:

o fix in -lockedCachedBundleForFrameworkNamed: to return AppBundle if none is found
o changes in -lockedCachedURLForResourceNamed:inFramework:languages:
	to call DeployedBundle -urlForResourceNamed:forLanguages:
o changes in -lockedPathForResourceNamed:inFramework:languages:
	to call DeployedBundle -absolutePathResourceNamed:forLanguages:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2003-11-23 17:58:40 +00:00
parent c89ed3f2e8
commit 63f981626d
2 changed files with 75 additions and 83 deletions

View file

@ -1,11 +1,17 @@
/* GSWResourceManager.h - GSWeb: Class GSWResourceManager
/** GSWResourceManager.h - <title>GSWeb: Class GSWResourceManager</title>
Copyright (C) 1999-2003 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
Date: Jan 1999
$Revision$
$Date$
$Id$
This file is part of the GNUstep Web Library.
<license>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
@ -19,7 +25,8 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
</license>
**/
// $Id$
@ -130,6 +137,15 @@ extern NSDictionary* globalMime;
inFramework:(NSString*)frameworkName
languages:(NSArray*)languages;
/** GSWeb specific
Returns the bundle for framework named aFrameworkName or application
bundle if none is found
**/
-(GSWDeployedBundle*)cachedBundleForFrameworkNamed:(NSString*)aFrameworkName;
/** Returns the bundle for framework named aFrameworkName or application
bundle if none is found
**/
-(GSWDeployedBundle*)lockedCachedBundleForFrameworkNamed:(NSString*)name;
@end