#import "SWGFile.h"

@implementation SWGFile

@synthesize name = _name;
@synthesize mimeType = _mimeType;
@synthesize data = _data;

- (id) init {
    self = [super init];
    return self;
}

- (id) initWithNameData: (NSString*) filename
               mimeType: (NSString*) fileMimeType
                   data: (NSData*) data {
	self = [super init];
	if(self) {
		_name = filename;
		_mimeType = fileMimeType;
		_data = data;
	}
	return self;
}

@end