ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
GenerateThumbnailForURL.m
Go to the documentation of this file.
1
#include <CoreFoundation/CoreFoundation.h>
2
#include <CoreServices/CoreServices.h>
3
#include <QuickLook/QuickLook.h>
4
5
/* -----------------------------------------------------------------------------
6
Generate a thumbnail for file
7
8
This function's job is to create thumbnail for designated file as fast as possible
9
----------------------------------------------------------------------------- */
10
11
OSStatus
GenerateThumbnailForURL
(
void
*thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize)
12
{
13
//#warning To complete your generator please implement the function GenerateThumbnailForURL in GenerateThumbnailForURL.c
14
return
noErr;
15
}
16
17
void
CancelThumbnailGeneration
(
void
* thisInterface, QLThumbnailRequestRef thumbnail)
18
{
19
// implement only if supported
20
}
CancelThumbnailGeneration
void CancelThumbnailGeneration(void *thisInterface, QLThumbnailRequestRef thumbnail)
Definition
GenerateThumbnailForURL.m:17
GenerateThumbnailForURL
OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize)
Definition
GenerateThumbnailForURL.m:11
misc
rootql
GenerateThumbnailForURL.m
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1