2004-09-13 Helge Hess <helge.hess@opengroupware.org>
+ * OWResourceManager.m: deprecated -pathToComponentNamed:inFramework:
+ in favor of -pathToComponentNamed:inFramework:languages (v4.3.38)
+
* v4.3.37
* Templates/WOWrapperTemplateBuilder.m: added ability to load wod
- (NSString *)pathToComponentNamed:(NSString *)_name
inFramework:(NSString *)_framework
+ languages:(NSArray *)_langs
{
/* search for component wrapper .. */
// TODO: shouldn't we used that for WOx as well?
path = [self pathForResourceNamed:specName
inFramework:_framework
- languages:nil];
+ languages:_langs];
if (path != nil) return path;
}
return nil;
}
- (NSString *)pathToComponentNamed:(NSString *)_name
- inFramework:(NSString *)_framework
- languages:(NSArray *)_langs
+ inFramework:(NSString *)_fw
{
- return [self pathToComponentNamed:_name inFramework:_framework];
+ // TODO: is this still used somewhere?
+ return [self pathToComponentNamed:_name inFramework:_fw languages:nil];
}
- (WOComponentDefinition *)_definitionForPathlessComponent:(NSString *)_name