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 dependency graph for main.c:

Classes

struct  __MetadataImporterPluginType

Macros

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

Typedefs

typedef struct __MetadataImporterPluginType MetadataImporterPluginType

Functions

MetadataImporterPluginTypeAllocMetadataImporterPluginType (CFUUIDRef inFactoryID)
void DeallocMetadataImporterPluginType (MetadataImporterPluginType *thisInstance)
Boolean GetMetadataForFile (void *thisInterface, CFMutableDictionaryRef attributes, CFStringRef contentTypeUTI, CFStringRef pathToFile)
ULONG MetadataImporterPluginAddRef (void *thisInstance)
voidMetadataImporterPluginFactory (CFAllocatorRef allocator, CFUUIDRef typeID)
ULONG MetadataImporterPluginRelease (void *thisInstance)
HRESULT MetadataImporterQueryInterface (void *thisInstance, REFIID iid, LPVOID *ppv)

Variables

static MDImporterInterfaceStruct testInterfaceFtbl

Macro Definition Documentation

◆ PLUGIN_ID

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

Definition at line 24 of file main.c.

Typedef Documentation

◆ MetadataImporterPluginType

Function Documentation

◆ AllocMetadataImporterPluginType()

MetadataImporterPluginType * AllocMetadataImporterPluginType ( CFUUIDRef inFactoryID)

Definition at line 86 of file main.c.

◆ DeallocMetadataImporterPluginType()

void DeallocMetadataImporterPluginType ( MetadataImporterPluginType * thisInstance)

Definition at line 113 of file main.c.

◆ GetMetadataForFile()

Boolean GetMetadataForFile ( void * thisInterface,
CFMutableDictionaryRef attributes,
CFStringRef contentTypeUTI,
CFStringRef pathToFile )

Definition at line 15 of file GetMetadataForFile.m.

◆ MetadataImporterPluginAddRef()

ULONG MetadataImporterPluginAddRef ( void * thisInstance)

Definition at line 168 of file main.c.

◆ MetadataImporterPluginFactory()

void * MetadataImporterPluginFactory ( CFAllocatorRef allocator,
CFUUIDRef typeID )

Definition at line 196 of file main.c.

◆ MetadataImporterPluginRelease()

ULONG MetadataImporterPluginRelease ( void * thisInstance)

Definition at line 180 of file main.c.

◆ MetadataImporterQueryInterface()

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

Definition at line 130 of file main.c.

Variable Documentation

◆ testInterfaceFtbl

MDImporterInterfaceStruct testInterfaceFtbl
static
Initial value:
= {
}
Boolean GetMetadataForFile(void *thisInterface, CFMutableDictionaryRef attributes, CFStringRef contentTypeUTI, CFStringRef pathToFile)
#define NULL
Definition ZInflate.c:15
ULONG MetadataImporterPluginRelease(void *thisInstance)
Definition main.c:180
HRESULT MetadataImporterQueryInterface(void *thisInstance, REFIID iid, LPVOID *ppv)
Definition main.c:130
ULONG MetadataImporterPluginAddRef(void *thisInstance)
Definition main.c:168

Definition at line 70 of file main.c.