Removed multiple categories per file.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@22294 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Dave Wetzel 2006-01-11 11:33:46 +00:00
parent 4573d13b24
commit db77ed552d
2 changed files with 1 additions and 16 deletions

View file

@ -43,17 +43,14 @@
-(id)initWithString:(NSString*)aString;
-(void)dealloc;
-(NSString*)description;
@end
//====================================================================
@interface GSWHTMLComment (GSWHTMLCommentA)
-(void)appendToResponse:(GSWResponse*)aResponse
inContext:(GSWContext*)aContext;
@end
//====================================================================
@interface GSWHTMLComment (GSWHTMLCommentB)
+(id)elementWithString:(NSString*)aString;
@end
#endif //_GSWHTMLComment_h__

View file

@ -73,28 +73,16 @@ RCS_ID("$Id$")
_string];
};
@end
//====================================================================
@implementation GSWHTMLComment (GSWHTMLCommentA)
//--------------------------------------------------------------------
-(void)appendToResponse:(GSWResponse*)aResponse
inContext:(GSWContext*)aContext
{
LOGObjectFnStart();
NSDebugMLLog(@"gswdync",@"ET=%@ id=%@",[self class],GSWContext_elementID(aContext));
GSWResponse_appendContentAsciiString(aResponse,@"<!--");
GSWResponse_appendContentAsciiString(aResponse,_string);
GSWResponse_appendContentAsciiString(aResponse,@"-->");
NSDebugMLLog(@"gswdync",@"END ET=%@ id=%@",[self class],GSWContext_elementID(aContext));
LOGObjectFnStop();
};
@end
//====================================================================
@implementation GSWHTMLComment (GSWHTMLCommentB)
//--------------------------------------------------------------------
+(id)elementWithString:(NSString*)aString