diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-03-28 22:51:46 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-03-28 22:51:46 +0000 |
| commit | ebfb89de00860bbdbb6e9a72ed18a358acc7c056 (patch) | |
| tree | d7c44382653ca1eb04db6876277edac4e6993a68 /macosx/Pcsxr-QL/MyQuickLook.h | |
| parent | a92f831335493c2ed789a3f746861af49ef5e4c8 (diff) | |
| download | pcsxr-ebfb89de00860bbdbb6e9a72ed18a358acc7c056.tar.gz | |
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
Diffstat (limited to 'macosx/Pcsxr-QL/MyQuickLook.h')
| -rw-r--r-- | macosx/Pcsxr-QL/MyQuickLook.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/macosx/Pcsxr-QL/MyQuickLook.h b/macosx/Pcsxr-QL/MyQuickLook.h new file mode 100644 index 00000000..9f1c6778 --- /dev/null +++ b/macosx/Pcsxr-QL/MyQuickLook.h @@ -0,0 +1,25 @@ +// +// MyQuickLook.h +// Pcsxr +// +// Created by C.W. Betts on 3/28/14. +// +// + +#ifndef Pcsxr_MyQuickLook_h +#define Pcsxr_MyQuickLook_h + +#include <CoreFoundation/CoreFoundation.h> +#include <CoreFoundation/CFPlugInCOM.h> +#include <CoreServices/CoreServices.h> +#include <QuickLook/QuickLook.h> + +// The thumbnail generation function to be implemented in GenerateThumbnailForURL.c +__private_extern__ OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize); +__private_extern__ void CancelThumbnailGeneration(void* thisInterface, QLThumbnailRequestRef thumbnail); + +// The preview generation function to be implemented in GeneratePreviewForURL.c +__private_extern__ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options); +__private_extern__ void CancelPreviewGeneration(void *thisInterface, QLPreviewRequestRef preview); + +#endif |
