libs-gui/Source/NSBundleAdditions.m

60 lines
1.5 KiB
Mathematica
Raw Normal View History

/*
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.
*/
#include <gnustep/gui/config.h>
#include <Foundation/NSBundle.h>
#include <AppKit/NSNibLoading.h>
@implementation NSBundle (NSBundleAdditions)
- (NSString *)pathForImageResource:(NSString *)name
{
return nil;
}
+ (BOOL)loadNibFile:(NSString *)fileName
externalNameTable:(NSDictionary *)context
withZone:(NSZone *)zone
{
return NO;
}
+ (BOOL)loadNibNamed:(NSString *)aNibName
owner:(id)owner
{
return NO;
}
@end
@interface __dummy_class_in_NSBundle
@end
@implementation __dummy_class_in_NSBundle
@end