* GSWeb.framework/GSWHTMLStaticGroup.m/.h:

o added +elementWithContentElements:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18905 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2004-03-25 08:35:00 +00:00
parent 48c3a00d54
commit 890ad2da60
2 changed files with 11 additions and 3 deletions

View file

@ -1,9 +1,9 @@
/** GSWHTMLStaticGroup.h - <title>GSWeb: Class GSWHTMLStaticGroup</title>
Copyright (C) 1999-2002 Free Software Foundation, Inc.
Copyright (C) 1999-2004 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
Date: Feb 1999
Date: Feb 1999
$Revision$
$Date$
@ -37,6 +37,7 @@
{
NSString* _documentTypeString;
}
+(GSWHTMLStaticGroup*)elementWithContentElements:(NSArray*)elements;
-(id)initWithContentElements:(NSArray*)elements;
-(void)setDocumentTypeString:(NSString *)documentType;
@ -44,6 +45,7 @@
inContext:(GSWContext*)context;
-(void)dealloc;
@end

View file

@ -1,6 +1,6 @@
/** GSWHTMLStaticGroup.m - <title>GSWeb: Class GSWHTMLStaticGroup</title>
Copyright (C) 1999-2003 Free Software Foundation, Inc.
Copyright (C) 1999-2004 Free Software Foundation, Inc.
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
Date: Feb 1999
@ -35,6 +35,12 @@ RCS_ID("$Id$")
//====================================================================
@implementation GSWHTMLStaticGroup
+(GSWHTMLStaticGroup*)elementWithContentElements:(NSArray*)elements
{
return [[[self alloc]initWithContentElements:elements]autorelease];
};
-(id)initWithContentElements:(NSArray*)elements
{
//OK