Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /XspfManager/XspfMThumbnailData.m

Parent Directory Parent Directory | Revision Log Revision Log


Revision 238 - (hide annotations) (download)
Sun Jan 10 13:19:26 2010 UTC (14 years, 3 months ago) by masaki
File size: 454 byte(s)
[Refactoring] クラス名変更。XSPFMXspfObject -> XpsfMXspfObject
1 masaki 86 //
2     // XspfMThumbnailData.m
3     // XspfManager
4     //
5     // Created by Hori,Masaki on 09/11/19.
6     // Copyright 2009 masakih. All rights reserved.
7     //
8    
9     #import "XspfMThumbnailData.h"
10    
11 masaki 238 #import "XspfMXspfObject.h"
12 masaki 86
13     @implementation XspfMThumbnailData
14    
15     @dynamic data;
16     @dynamic xspf;
17    
18     - (void)awakeFromFetch
19     {
20     if(self.xspf.thumbnail == nil) {
21     NSImage *thumbnail = [[[NSImage alloc] initWithData:self.data] autorelease];
22     self.xspf.thumbnail = thumbnail;
23     }
24     }
25    
26     @end

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26