mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-22 11:11:21 +00:00
* 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:
parent
28ee860614
commit
10a8f0e987
3 changed files with 7 additions and 5 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue