![SND\MaddTheSane_cp](/assets/img/avatar_default.png)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89709 e17a0e51-4ae3-4d35-97c3-1a29b211df97
22 lines
805 B
C
22 lines
805 B
C
#include <CoreFoundation/CoreFoundation.h>
|
|
#include <CoreServices/CoreServices.h>
|
|
#include <QuickLook/QuickLook.h>
|
|
#include "MyQuickLook.h"
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
Generate a preview for file
|
|
|
|
This function's job is to create preview for designated file
|
|
----------------------------------------------------------------------------- */
|
|
|
|
OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options)
|
|
{
|
|
// To complete your generator please implement the function GeneratePreviewForURL in GeneratePreviewForURL.c
|
|
return noErr;
|
|
}
|
|
|
|
void CancelPreviewGeneration(void *thisInterface, QLPreviewRequestRef preview)
|
|
{
|
|
// Implement only if supported
|
|
}
|