mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
* Source/NSBundle.m (+gnustepBundle,
+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated log message. * Source/NSNotificationQueue.m, Source/null-load.h: Fix copyright message. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20823 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
38c4bd4bd7
commit
c5b59c788c
4 changed files with 20 additions and 30 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-03-01 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSBundle.m (+gnustepBundle,
|
||||
+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated
|
||||
log message.
|
||||
* Source/NSNotificationQueue.m, Source/null-load.h:
|
||||
Fix copyright message.
|
||||
|
||||
2005-03-01 02:50 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/Makefile.preamble (ADDITIONAL_LIB_DIRS): When building a
|
||||
|
|
|
@ -1781,6 +1781,9 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
|
||||
+ (NSBundle *) gnustepBundle
|
||||
{
|
||||
/* Depreciated since 1.7.0 */
|
||||
GSOnceMLog(@"Warning: Deprecated method %@ called. Use +bundleForLibrary: instead",
|
||||
NSStringFromSelector(_cmd));
|
||||
return _gnustep_bundle;
|
||||
}
|
||||
|
||||
|
@ -1814,7 +1817,8 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
ofType: (NSString *)ext
|
||||
inDirectory: (NSString *)bundlePath
|
||||
{
|
||||
NSLog(@"Warning: Deprecated method %@ called. Use +pathForLibraryResource:ofType:inDirectory: or +bundleForLibrary: instead",
|
||||
/* Depreciated since 1.7.0 */
|
||||
GSOnceMLog(@"Warning: Deprecated method %@ called. Use +pathForLibraryResource:ofType:inDirectory: or +bundleForLibrary: instead",
|
||||
NSStringFromSelector(_cmd));
|
||||
return [self pathForLibraryResource: name ofType: ext
|
||||
inDirectory: bundlePath];
|
||||
|
|
|
@ -1,33 +1,8 @@
|
|||
/**
|
||||
NSNotificationQueue.m
|
||||
|
||||
Copyright (C) 1995, 1996 Ovidiu Predescu and Mircea Oancea.
|
||||
All rights reserved.
|
||||
/** Implementation for NSNotificationQueue for GNUStep
|
||||
Copyright (C) 1995-1999 Free Software Foundation, Inc.
|
||||
|
||||
Author: Mircea Oancea <mircea@jupiter.elcom.pub.ro>
|
||||
|
||||
This file is part of libFoundation.
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted, provided
|
||||
that the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation.
|
||||
|
||||
We disclaim all warranties with regard to this software, including all
|
||||
implied warranties of merchantability and fitness, in no event shall
|
||||
we be liable for any special, indirect or consequential damages or any
|
||||
damages whatsoever resulting from loss of use, data or profits, whether in
|
||||
an action of contract, negligence or other tortious action, arising out of
|
||||
or in connection with the use or performance of this software.
|
||||
|
||||
<title>NSNotificationQueue class reference</title>
|
||||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
/* Implementation for NSNotificationQueue for GNUStep
|
||||
Copyright (C) 1997-1999 Free Software Foundation, Inc.
|
||||
|
||||
Date: 1995
|
||||
Modified by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
Date: 1997
|
||||
Rewritten: 1999
|
||||
|
@ -47,6 +22,9 @@
|
|||
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., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||
|
||||
<title>NSNotificationQueue class reference</title>
|
||||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
null-load - NULL dynamic loader. Doesn't do anything.
|
||||
|
||||
Copyright (C) 1995, Adam Fedor.
|
||||
Copyright (C) 1995, Free Software Foundation, Inc.
|
||||
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue