On 07 Jan 09, at 07:08, Parimal Das wrote:
my app needs to extract finder icons in preview mode.
i am using QLThumbnailImageCreate() to get those in 10.5 leopord
i want my app to run on 10.4 Tiger also , but icon services api is
filled
with deprecated methods
so how it is possible to write a same app which will run on both
10.4 and
10.5 versions of Mac OS-X
what should i use to make my app compatible to 10.4
i am using QLThumbnailImageCreate() function as
CGImageRef ref = QLThumbnailImageCreate(kCFAllocatorDefault,
(CFURLRef)fileURL,
CGSizeMake(200,200),
(CFDictionaryRef)dict);
in documentation it say that this function is available only for
10.5 n
above.
how to substitute that??
QLThumbnailImageCreate is a QuickLook function (hence the QL!). It
doesn't exist on 10.4 in any form. If you want a generic icon, use
NSWorkspace's icon functions; if you want a preview, good luck.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com