//:CMRThreadDownloadTask.m
#import "CMRThreadDownloadTask_p.h"



@implementation CMRThreadDownloadTask
- (id) initWithThreadViewer : (CMRThreadViewer *) tviewr
{
	if(self = [super init]){
		_threadViewer = [tviewr retain];
	}
	return self;
}
- (void) dealloc
{
	[_threadViewer release];
	[super dealloc];
}
- (void) doExecuteWithLayout : (CMRThreadLayout *) layout
{
//	[CMRMainMessenger target : _threadViewer
//			 performSelector : @selector(reloadThread)
//				  withResult : YES];
// 2008-02-18
	[_threadViewer performSelectorOnMainThread:@selector(reloadThread) withObject:nil waitUntilDone:YES];
}


// CMRTask
- (NSString *) identifier
{
	// 
	// マネージャには登録しない
	// 
	return nil;
}
@end
