* GSWeb.framework/GSWeb.h: Include new header.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@28180 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2009-04-05 12:50:53 +00:00
parent 28ee860614
commit 10a8f0e987
3 changed files with 7 additions and 5 deletions

View file

@ -3,6 +3,7 @@
* GSWeb.framework/GSWImageInfo.h/m: New files.
* GSWeb.framework/GNUmakefile: Include new files.
* GSWeb.framework/GSWWOCompatibility.h: Include new files.
* GSWeb.framework/GSWeb.h: Include new header.
2008-10-24 David Ayers <ayers@fsfe.org>

View file

@ -46,7 +46,7 @@ RCS_ID("$Id: GSWImageInfo.m 25027 2009-04-05 13:00:10Z ayers $")
@implementation GSWJpegImageInfo
-(id)initWithContentsOfFile: (NSString *)path
{
NSEmitTODO();
NSLog(@"TODO:[%@ %@] %s:%d",NSStringFromClass([self class]),NSStringFromSelector(_cmd),__FILE__,__LINE__);
DESTROY(self);
return self;
}
@ -54,7 +54,7 @@ RCS_ID("$Id: GSWImageInfo.m 25027 2009-04-05 13:00:10Z ayers $")
@implementation GSWGifImageInfo
-(id)initWithContentsOfFile: (NSString *)path
{
NSEmitTODO();
NSLog(@"TODO:[%@ %@] %s:%d",NSStringFromClass([self class]),NSStringFromSelector(_cmd),__FILE__,__LINE__);
DESTROY(self);
return self;
}
@ -62,14 +62,14 @@ RCS_ID("$Id: GSWImageInfo.m 25027 2009-04-05 13:00:10Z ayers $")
@implementation GSWPngImageInfo
-(id)initWithContentsOfFile: (NSString *)path
{
NSEmitTODO();
NSLog(@"TODO:[%@ %@] %s:%d",NSStringFromClass([self class]),NSStringFromSelector(_cmd),__FILE__,__LINE__);
DESTROY(self);
return self;
}
@end
@implementation GSWImageInfo
static NSArray *supportedExtensions = nil;
static NSDictionary *extensionClassDict = nil;
+ (void)initialize
{
@ -98,7 +98,7 @@ static NSArray *supportedExtensions = nil;
}
+ (BOOL)pathHasSupportedExtension:(NSString *)path
{
NSString *extension = [filename pathExtension];
NSString *extension = [path pathExtension];
return [extensionClassDict objectForKey: extension] ? YES : NO;
}
+ (Class)subclassForExtension:(NSString *)extension

View file

@ -208,6 +208,7 @@
#include "GSWHyperlink.h"
#include "GSWImage.h"
#include "GSWImageButton.h"
#include "GSWImageInfo.h"
#include "GSWJavaScript.h"
#include "GSWNestedList.h"
#include "GSWParam.h"