(root)/
gcc-13.2.0/
gcc/
testsuite/
objc-obj-c++-shared/
GNUStep/
GNUstepBase/
NSMutableString+GNUstepBase.h
       1  /** Declaration of extension methods for base additions
       2  
       3     Copyright (C) 2003-2010 Free Software Foundation, Inc.
       4  
       5     Written by:  Richard Frith-Macdonald <rfm@gnu.org>
       6     and:         Adam Fedor <fedor@gnu.org>
       7  
       8     This file is part of the GNUstep Base Library.
       9  
      10     This library is free software; you can redistribute it and/or
      11     modify it under the terms of the GNU Lesser General Public
      12     License as published by the Free Software Foundation; either
      13     version 2 of the License, or (at your option) any later version.
      14     
      15     This library is distributed in the hope that it will be useful,
      16     but WITHOUT ANY WARRANTY; without even the implied warranty of
      17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      18     Library General Public License for more details.
      19  
      20     You should have received a copy of the GNU Lesser General Public
      21     License along with this library; if not, write to the Free
      22     Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
      23     Boston, MA 02111 USA.
      24  
      25  */
      26  
      27  #ifndef	INCLUDED_NSMutableString_GNUstepBase_h
      28  #define	INCLUDED_NSMutableString_GNUstepBase_h
      29  
      30  #import "GSVersionMacros.h"
      31  #import "../Foundation/NSString.h"
      32  
      33  #if	defined(__cplusplus)
      34  extern "C" {
      35  #endif
      36  
      37  #if	OS_API_VERSION(GS_API_NONE,GS_API_LATEST)
      38  
      39  @interface NSMutableString (GNUstepBase)
      40  - (void) deleteSuffix: (NSString*)suffix;
      41  - (void) deletePrefix: (NSString*)prefix;
      42  - (NSString*) immutableProxy;
      43  - (void) replaceString: (NSString*)replace
      44              withString: (NSString*)by;
      45  - (void) trimLeadSpaces;
      46  - (void) trimTailSpaces;
      47  - (void) trimSpaces;
      48  @end
      49  
      50  #endif	/* OS_API_VERSION */
      51  
      52  #if	defined(__cplusplus)
      53  }
      54  #endif
      55  
      56  #endif	/* INCLUDED_NSMutableString_GNUstepBase_h */
      57