Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
main.c File Reference
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFPlugInCOM.h>
#include <CoreServices/CoreServices.h>
#include <QuickLook/QuickLook.h>
Include dependency graph for main.c:

Classes

struct  __QuickLookGeneratorPluginType

Macros

#define PLUGIN_ID   "9E28C44E-DE9B-4941-8963-405BD216DD9D"

Typedefs

typedef struct __QuickLookGeneratorPluginType QuickLookGeneratorPluginType

Functions

QuickLookGeneratorPluginTypeAllocQuickLookGeneratorPluginType (CFUUIDRef inFactoryID)
void CancelPreviewGeneration (void *thisInterface, QLPreviewRequestRef preview)
void CancelThumbnailGeneration (void *thisInterface, QLThumbnailRequestRef thumbnail)
void DeallocQuickLookGeneratorPluginType (QuickLookGeneratorPluginType *thisInstance)
OSStatus GeneratePreviewForURL (void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options)
OSStatus GenerateThumbnailForURL (void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize)
ULONG QuickLookGeneratorPluginAddRef (void *thisInstance)
voidQuickLookGeneratorPluginFactory (CFAllocatorRef allocator, CFUUIDRef typeID)
ULONG QuickLookGeneratorPluginRelease (void *thisInstance)
HRESULT QuickLookGeneratorQueryInterface (void *thisInstance, REFIID iid, LPVOID *ppv)

Variables

static QLGeneratorInterfaceStruct myInterfaceFtbl

Macro Definition Documentation

◆ PLUGIN_ID

#define PLUGIN_ID   "9E28C44E-DE9B-4941-8963-405BD216DD9D"

Definition at line 25 of file main.c.

Typedef Documentation

◆ QuickLookGeneratorPluginType

Function Documentation

◆ AllocQuickLookGeneratorPluginType()

QuickLookGeneratorPluginType * AllocQuickLookGeneratorPluginType ( CFUUIDRef inFactoryID)

Definition at line 92 of file main.c.

◆ CancelPreviewGeneration()

void CancelPreviewGeneration ( void * thisInterface,
QLPreviewRequestRef preview )

Definition at line 76 of file GeneratePreviewForURL.m.

◆ CancelThumbnailGeneration()

void CancelThumbnailGeneration ( void * thisInterface,
QLThumbnailRequestRef thumbnail )

Definition at line 17 of file GenerateThumbnailForURL.m.

◆ DeallocQuickLookGeneratorPluginType()

void DeallocQuickLookGeneratorPluginType ( QuickLookGeneratorPluginType * thisInstance)

Definition at line 120 of file main.c.

◆ GeneratePreviewForURL()

OSStatus GeneratePreviewForURL ( void * thisInterface,
QLPreviewRequestRef preview,
CFURLRef url,
CFStringRef contentTypeUTI,
CFDictionaryRef options )

Definition at line 14 of file GeneratePreviewForURL.m.

◆ GenerateThumbnailForURL()

OSStatus GenerateThumbnailForURL ( void * thisInterface,
QLThumbnailRequestRef thumbnail,
CFURLRef url,
CFStringRef contentTypeUTI,
CFDictionaryRef options,
CGSize maxSize )

Definition at line 11 of file GenerateThumbnailForURL.m.

◆ QuickLookGeneratorPluginAddRef()

ULONG QuickLookGeneratorPluginAddRef ( void * thisInstance)

Definition at line 175 of file main.c.

◆ QuickLookGeneratorPluginFactory()

void * QuickLookGeneratorPluginFactory ( CFAllocatorRef allocator,
CFUUIDRef typeID )

Definition at line 201 of file main.c.

◆ QuickLookGeneratorPluginRelease()

ULONG QuickLookGeneratorPluginRelease ( void * thisInstance)

Definition at line 187 of file main.c.

◆ QuickLookGeneratorQueryInterface()

HRESULT QuickLookGeneratorQueryInterface ( void * thisInstance,
REFIID iid,
LPVOID * ppv )

Definition at line 141 of file main.c.

Variable Documentation

◆ myInterfaceFtbl

QLGeneratorInterfaceStruct myInterfaceFtbl
static
Initial value:
= {
}
#define NULL
Definition ZInflate.c:15
ULONG QuickLookGeneratorPluginRelease(void *thisInstance)
Definition main.c:187
HRESULT QuickLookGeneratorQueryInterface(void *thisInstance, REFIID iid, LPVOID *ppv)
Definition main.c:141
ULONG QuickLookGeneratorPluginAddRef(void *thisInstance)
Definition main.c:175

Definition at line 73 of file main.c.