mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
52 lines
1.3 KiB
Objective-C
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,
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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
|
|
|