1 //------------------------------------------------------------------------- 2 /* 3 Copyright (C) 2013 Jonathon Fowler <jf@jonof.id.au> 4 5 This file is part of JFShadowWarrior 6 7 Shadow Warrior is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License 9 as published by the Free Software Foundation; either version 2 10 of the License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 16 See the GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 */ 22 //------------------------------------------------------------------------- 23 24 #import <Foundation/Foundation.h> 25 26 #include "grpscan.h" 27 28 @interface GrpFile : NSObject 29 { 30 NSString *namestring; 31 NSString *grpnamestring; 32 grpfile_t const *fg; 33 } 34 - (id)initWithGrpfile:(grpfile_t const *)grpfile; 35 - (void)dealloc; 36 - (NSString *)name; 37 - (NSString *)grpname; 38 - (grpfile_t const *)entryptr; 39 @end 40 41