//
//  WebCSSDocumentRepresentation.m
//  SimpleWebKit
//
//  Created by Nikolaus Schaller on 27.01.07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import "WebCSSDocumentRepresentation.h"
#import "Private.h"

@implementation _WebCSSDocumentRepresentation

// methods from WebDocumentRepresentation protocol

- (void) finishedLoadingWithDataSource:(WebDataSource *) source;
{
	// FIXME: which encoding should we use?
	NSString *css=[[NSString alloc] initWithData:[source data] encoding:NSUTF8StringEncoding];
	NSLog(@"WebCSSDocumentRepresentation finishedLoadingWithDataSource");
	// parse CSS document
	// how do we handle @include ??? - we should not block until we have loaded the resource
	[css release];
}

@end