#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFPlugInCOM.h>
#include <CoreServices/CoreServices.h>
#include <QuickLook/QuickLook.h>
Go to the source code of this file.
Classes | |
struct | __QuickLookGeneratorPluginType |
Defines | |
#define | PLUGIN_ID "9E28C44E-DE9B-4941-8963-405BD216DD9D" |
Typedefs | |
typedef __QuickLookGeneratorPluginType | QuickLookGeneratorPluginType |
Functions | |
OSStatus | GenerateThumbnailForURL (void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize) |
void | CancelThumbnailGeneration (void *thisInterface, QLThumbnailRequestRef thumbnail) |
OSStatus | GeneratePreviewForURL (void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options) |
void | CancelPreviewGeneration (void *thisInterface, QLPreviewRequestRef preview) |
QuickLookGeneratorPluginType * | AllocQuickLookGeneratorPluginType (CFUUIDRef inFactoryID) |
void | DeallocQuickLookGeneratorPluginType (QuickLookGeneratorPluginType *thisInstance) |
HRESULT | QuickLookGeneratorQueryInterface (void *thisInstance, REFIID iid, LPVOID *ppv) |
void * | QuickLookGeneratorPluginFactory (CFAllocatorRef allocator, CFUUIDRef typeID) |
ULONG | QuickLookGeneratorPluginAddRef (void *thisInstance) |
ULONG | QuickLookGeneratorPluginRelease (void *thisInstance) |
Variables | |
static QLGeneratorInterfaceStruct | myInterfaceFtbl |
#define PLUGIN_ID "9E28C44E-DE9B-4941-8963-405BD216DD9D" |
Definition at line 25 of file main.c.
Referenced by MetadataImporterPluginFactory(), and QuickLookGeneratorPluginFactory().
typedef struct __QuickLookGeneratorPluginType QuickLookGeneratorPluginType |
QuickLookGeneratorPluginType * AllocQuickLookGeneratorPluginType | ( | CFUUIDRef | inFactoryID | ) |
Definition at line 92 of file main.c.
References __QuickLookGeneratorPluginType::conduitInterface, __QuickLookGeneratorPluginType::factoryID, malloc(), myInterfaceFtbl, and __QuickLookGeneratorPluginType::refCount.
Referenced by QuickLookGeneratorPluginFactory().
void CancelPreviewGeneration | ( | void * | thisInterface, | |
QLPreviewRequestRef | preview | |||
) |
Definition at line 38 of file GeneratePreviewForURL.m.
References noErr.
Referenced by QuickLookGeneratorQueryInterface().
void CancelThumbnailGeneration | ( | void * | thisInterface, | |
QLThumbnailRequestRef | thumbnail | |||
) |
Definition at line 17 of file GenerateThumbnailForURL.m.
Referenced by QuickLookGeneratorQueryInterface().
void DeallocQuickLookGeneratorPluginType | ( | QuickLookGeneratorPluginType * | thisInstance | ) |
Definition at line 120 of file main.c.
References __QuickLookGeneratorPluginType::conduitInterface, __QuickLookGeneratorPluginType::factoryID, and free().
Referenced by QuickLookGeneratorPluginRelease().
OSStatus GeneratePreviewForURL | ( | void * | thisInterface, | |
QLPreviewRequestRef | preview, | |||
CFURLRef | url, | |||
CFStringRef | contentTypeUTI, | |||
CFDictionaryRef | options | |||
) |
Referenced by QuickLookGeneratorQueryInterface().
OSStatus GenerateThumbnailForURL | ( | void * | thisInterface, | |
QLThumbnailRequestRef | thumbnail, | |||
CFURLRef | url, | |||
CFStringRef | contentTypeUTI, | |||
CFDictionaryRef | options, | |||
CGSize | maxSize | |||
) |
Definition at line 11 of file GenerateThumbnailForURL.m.
References noErr.
Referenced by QuickLookGeneratorQueryInterface().
void * QuickLookGeneratorPluginFactory | ( | CFAllocatorRef | allocator, | |
CFUUIDRef | typeID | |||
) |
ULONG QuickLookGeneratorPluginRelease | ( | void * | thisInstance | ) |
HRESULT QuickLookGeneratorQueryInterface | ( | void * | thisInstance, | |
REFIID | iid, | |||
LPVOID * | ppv | |||
) |
Definition at line 141 of file main.c.
References CancelPreviewGeneration(), CancelThumbnailGeneration(), GeneratePreviewForURL(), GenerateThumbnailForURL(), and NULL.
QLGeneratorInterfaceStruct myInterfaceFtbl [static] |
Initial value:
{ NULL, QuickLookGeneratorQueryInterface, QuickLookGeneratorPluginAddRef, QuickLookGeneratorPluginRelease, NULL, NULL, NULL, NULL }
Definition at line 73 of file main.c.
Referenced by AllocQuickLookGeneratorPluginType().