main.c File Reference

#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)
MetadataImporterPluginTypeAllocMetadataImporterPluginType (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


Define Documentation

#define PLUGIN_ID   "57D03001-2009-43F0-BB98-1BECC352D3AC"

Definition at line 24 of file main.c.


Typedef Documentation

typedef struct __MetadataImporterPluginType MetadataImporterPluginType


Function Documentation

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 
)

ULONG MetadataImporterPluginAddRef ( void *  thisInstance  ) 

Definition at line 168 of file main.c.

void * MetadataImporterPluginFactory ( CFAllocatorRef  allocator,
CFUUIDRef  typeID 
)

Definition at line 196 of file main.c.

References AllocMetadataImporterPluginType(), NULL, PLUGIN_ID, and result().

ULONG MetadataImporterPluginRelease ( void *  thisInstance  ) 

Definition at line 180 of file main.c.

References DeallocMetadataImporterPluginType().

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

Definition at line 130 of file main.c.

References NULL.


Variable Documentation

MDImporterInterfaceStruct testInterfaceFtbl [static]

Initial value:

Definition at line 70 of file main.c.

Referenced by AllocMetadataImporterPluginType().


Generated on Tue Jul 5 15:56:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1