#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFPlugInCOM.h>
#include <CoreServices/CoreServices.h>
Go to the source code of this file.
Classes | |
struct | __MetadataImporterPluginType |
Defines | |
#define | PLUGIN_ID "57D03001-2009-43F0-BB98-1BECC352D3AC" |
Typedefs | |
typedef __MetadataImporterPluginType | MetadataImporterPluginType |
Functions | |
Boolean | GetMetadataForFile (void *thisInterface, CFMutableDictionaryRef attributes, CFStringRef contentTypeUTI, CFStringRef pathToFile) |
MetadataImporterPluginType * | AllocMetadataImporterPluginType (CFUUIDRef inFactoryID) |
void | DeallocMetadataImporterPluginType (MetadataImporterPluginType *thisInstance) |
HRESULT | MetadataImporterQueryInterface (void *thisInstance, REFIID iid, LPVOID *ppv) |
void * | MetadataImporterPluginFactory (CFAllocatorRef allocator, CFUUIDRef typeID) |
ULONG | MetadataImporterPluginAddRef (void *thisInstance) |
ULONG | MetadataImporterPluginRelease (void *thisInstance) |
Variables | |
static MDImporterInterfaceStruct | testInterfaceFtbl |
typedef struct __MetadataImporterPluginType MetadataImporterPluginType |
MetadataImporterPluginType * AllocMetadataImporterPluginType | ( | CFUUIDRef | inFactoryID | ) |
Definition at line 86 of file main.c.
References __MetadataImporterPluginType::conduitInterface, __MetadataImporterPluginType::factoryID, malloc(), __MetadataImporterPluginType::refCount, and testInterfaceFtbl.
Referenced by MetadataImporterPluginFactory().
void DeallocMetadataImporterPluginType | ( | MetadataImporterPluginType * | thisInstance | ) |
Definition at line 113 of file main.c.
References __MetadataImporterPluginType::factoryID, and free().
Referenced by MetadataImporterPluginRelease().
Boolean GetMetadataForFile | ( | void * | thisInterface, | |
CFMutableDictionaryRef | attributes, | |||
CFStringRef | contentTypeUTI, | |||
CFStringRef | pathToFile | |||
) |
void * MetadataImporterPluginFactory | ( | CFAllocatorRef | allocator, | |
CFUUIDRef | typeID | |||
) |
ULONG MetadataImporterPluginRelease | ( | void * | thisInstance | ) |
HRESULT MetadataImporterQueryInterface | ( | void * | thisInstance, | |
REFIID | iid, | |||
LPVOID * | ppv | |||
) |
MDImporterInterfaceStruct testInterfaceFtbl [static] |
Initial value:
{ NULL, MetadataImporterQueryInterface, MetadataImporterPluginAddRef, MetadataImporterPluginRelease, GetMetadataForFile }
Definition at line 70 of file main.c.
Referenced by AllocMetadataImporterPluginType().