libs-base/Tools/make_strings/StringsFile.h
Alexander Malmberg 252ca62dd3 Clean up handling of key matching and ignoring. Add --aggressive-remove option.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17062 72102866-910b-0410-8b05-ffd578937521
2003-06-28 13:58:33 +00:00

52 lines
1.3 KiB
Objective-C

/* StringsFile
Copyright (C) 2002 Free Software Foundation, Inc.
Written by: Alexander Malmberg <alexander@malmberg.org>
Created: 2002
This file is part of the GNUstep Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public
License along with this program; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef StringsFile_h
#define StringsFile_h
@class StringsEntry;
@class SourceEntry;
@class NSMutableArray;
@interface StringsFile : NSObject
{
@public
NSMutableArray *strings;
NSString *global_comment;
@private
/** These are used for aggressive matching **/
/* Contains all keys for which there is a translation */
NSMutableArray *keys_translated;
/* Contains all keys that appeared in the source */
NSMutableArray *keys_matched;
}
- init;
- initWithFile: (NSString *)filename;
-(BOOL) writeToFile: (NSString *)filename;
-(void) addSourceEntry: (SourceEntry *)e;
@end
#endif