From ebfb89de00860bbdbb6e9a72ed18a358acc7c056 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Fri, 28 Mar 2014 22:51:46 +0000 Subject: OS X: Begin work on a QuickLook plug-in for freeze states. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89709 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Pcsxr-QL/GeneratePreviewForURL.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 macosx/Pcsxr-QL/GeneratePreviewForURL.c (limited to 'macosx/Pcsxr-QL/GeneratePreviewForURL.c') diff --git a/macosx/Pcsxr-QL/GeneratePreviewForURL.c b/macosx/Pcsxr-QL/GeneratePreviewForURL.c new file mode 100644 index 00000000..a57f116f --- /dev/null +++ b/macosx/Pcsxr-QL/GeneratePreviewForURL.c @@ -0,0 +1,21 @@ +#include +#include +#include +#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 +} -- cgit v1.2.3