mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSScriptWhoseTests.h * Source/GNUmakefile * Source/NSObject+NSComparisonMethods.m: Move the comparison methods to the header for NSScriptWhoseTests.h, but don't define the abstract class since we don't support Apple script. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35570 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ae328505c2
commit
e26964a166
5 changed files with 56 additions and 12 deletions
43
Headers/Foundation/NSScriptWhoseTests.h
Normal file
43
Headers/Foundation/NSScriptWhoseTests.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
Global include file for the GNUstep Base Library.
|
||||
|
||||
Copyright (C) 1997 Free Software Foundation, Inc.
|
||||
|
||||
Date: Sep 2012
|
||||
|
||||
This file is part of the GNUstep Base Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser 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 Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#ifndef __NSScriptWhoseTests_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSScriptWhoseTests_h_GNUSTEP_BASE_INCLUDE
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
@interface NSObject (NSComparisonMethods)
|
||||
- (BOOL) doesContain: (id) object;
|
||||
- (BOOL) isCaseInsensitiveLike: (id) object;
|
||||
- (BOOL) isEqualTo: (id) object;
|
||||
- (BOOL) isGreaterThan: (id) object;
|
||||
- (BOOL) isGreaterThanOrEqualTo: (id) object;
|
||||
- (BOOL) isLessThan: (id) object;
|
||||
- (BOOL) isLessThanOrEqualTo: (id) object;
|
||||
- (BOOL) isLike: (NSString *)object;
|
||||
- (BOOL) isNotEqualTo: (id) object;
|
||||
@end
|
||||
|
||||
#endif /* __NSScriptWhoseTests_h_GNUSTEP_BASE_INCLUDE */
|
Loading…
Add table
Add a link
Reference in a new issue