GenerateThumbnailForURL.m

Go to the documentation of this file.
00001 #include <CoreFoundation/CoreFoundation.h>
00002 #include <CoreServices/CoreServices.h>
00003 #include <QuickLook/QuickLook.h>
00004 
00005 /* -----------------------------------------------------------------------------
00006     Generate a thumbnail for file
00007 
00008    This function's job is to create thumbnail for designated file as fast as possible
00009    ----------------------------------------------------------------------------- */
00010 
00011 OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize)
00012 {
00013     //#warning To complete your generator please implement the function GenerateThumbnailForURL in GenerateThumbnailForURL.c
00014     return noErr;
00015 }
00016 
00017 void CancelThumbnailGeneration(void* thisInterface, QLThumbnailRequestRef thumbnail)
00018 {
00019     // implement only if supported
00020 }

Generated on Tue Jul 5 14:44:00 2011 for ROOT_528-00b_version by  doxygen 1.5.1