1997-01-29 16:07:56 +00:00
|
|
|
/*
|
|
|
|
NSBundle.m
|
|
|
|
|
|
|
|
Implementation of NSBundle Additions
|
|
|
|
|
|
|
|
Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
Author: Simon Frankau <sgf@frankau.demon.co.uk>
|
|
|
|
Date: 1997
|
|
|
|
|
|
|
|
This file is part of the GNUstep GUI Library.
|
|
|
|
|
|
|
|
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
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
1997-09-23 22:43:24 +00:00
|
|
|
#include <gnustep/gui/config.h>
|
1997-01-29 16:07:56 +00:00
|
|
|
#include <Foundation/NSBundle.h>
|
1997-02-18 00:29:25 +00:00
|
|
|
#include <AppKit/NSNibLoading.h>
|
1997-01-29 16:07:56 +00:00
|
|
|
|
|
|
|
@implementation NSBundle (NSBundleAdditions)
|
|
|
|
|
|
|
|
- (NSString *)pathForImageResource:(NSString *)name
|
|
|
|
{
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ (BOOL)loadNibFile:(NSString *)fileName
|
|
|
|
externalNameTable:(NSDictionary *)context
|
1997-02-18 00:29:25 +00:00
|
|
|
withZone:(NSZone *)zone
|
1997-01-29 16:07:56 +00:00
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ (BOOL)loadNibNamed:(NSString *)aNibName
|
|
|
|
owner:(id)owner
|
|
|
|
{
|
|
|
|
return NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
1997-02-18 00:29:25 +00:00
|
|
|
|
|
|
|
@interface __dummy_class_in_NSBundle
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation __dummy_class_in_NSBundle
|
|
|
|
@end
|
|
|
|
|