1 /* 2 GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html 3 4 Copyright (C) 2005 Free Software Foundation 5 6 Authors: Serg Stoyan 7 8 This file is part of GNUstep. 9 10 This application is free software; you can redistribute it and/or 11 modify it under the terms of the GNU 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 application 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 General Public 21 License along with this library; if not, write to the Free 22 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. 23 */ 24 25 #ifndef _CodeParserProtocol_h_ 26 #define _CodeParserProtocol_h_ 27 28 #import <Foundation/NSObject.h> 29 30 @class PCEditor; 31 32 @protocol CodeParser <NSObject> 33 34 - (id)setString:(NSString *)text; 35 - (NSArray *)classNames; 36 - (NSArray *)methodNames; 37 38 @end 39 40 #endif 41