com.github.axet.desktop.os.mac.foundation
Interface CoreFoundation

All Superinterfaces:
com.sun.jna.Library

public interface CoreFoundation
extends com.sun.jna.Library


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static CoreFoundation INSTANCE
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 int CFArrayGetCount(CFArrayRef theArray)
          CFIndex CFArrayGetCount ( CFArrayRef theArray );
 com.sun.jna.Pointer CFArrayGetValueAtIndex(CFArrayRef theArray, int idx)
          const void * CFArrayGetValueAtIndex ( CFArrayRef theArray, CFIndex idx );
 CFStringRef CFBundleGetIdentifier(com.sun.jna.Pointer bundle)
          CFStringRef CFBundleGetIdentifier ( CFBundleRef bundle );
 com.sun.jna.Pointer CFBundleGetMainBundle()
          CFBundleRef CFBundleGetMainBundle ( void );
 CFStringRef CFStringCreateWithCharacters(Void alloc, char[] chars, int numChars)
          CFStringRef CFStringCreateWithCharacters ( CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars );
 void CFStringGetCharacters(CFStringRef theString, CFRange.ByValue range, com.sun.jna.Pointer buffer)
          void CFStringGetCharacters ( CFStringRef theString, CFRange range, UniChar *buffer );
 com.sun.jna.Pointer CFStringGetCharactersPtr(CFStringRef theString)
          const UniChar * CFStringGetCharactersPtr ( CFStringRef theString );
 int CFStringGetLength(CFStringRef theString)
          CFIndex CFStringGetLength ( CFStringRef theString );
 

Field Detail

INSTANCE

static final CoreFoundation INSTANCE
Method Detail

CFStringCreateWithCharacters

CFStringRef CFStringCreateWithCharacters(Void alloc,
                                         char[] chars,
                                         int numChars)
CFStringRef CFStringCreateWithCharacters ( CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars );

Parameters:
alloc -
chars -
numChars -
Returns:

CFStringGetCharacters

void CFStringGetCharacters(CFStringRef theString,
                           CFRange.ByValue range,
                           com.sun.jna.Pointer buffer)
void CFStringGetCharacters ( CFStringRef theString, CFRange range, UniChar *buffer );

Parameters:
theString -
range -
buffer -

CFStringGetCharactersPtr

com.sun.jna.Pointer CFStringGetCharactersPtr(CFStringRef theString)
const UniChar * CFStringGetCharactersPtr ( CFStringRef theString );

Parameters:
theString -
Returns:

CFStringGetLength

int CFStringGetLength(CFStringRef theString)
CFIndex CFStringGetLength ( CFStringRef theString );

Parameters:
theString -
Returns:

CFBundleGetMainBundle

com.sun.jna.Pointer CFBundleGetMainBundle()
CFBundleRef CFBundleGetMainBundle ( void );

Returns:

CFBundleGetIdentifier

CFStringRef CFBundleGetIdentifier(com.sun.jna.Pointer bundle)
CFStringRef CFBundleGetIdentifier ( CFBundleRef bundle );

Parameters:
bundle -
Returns:

CFArrayGetCount

int CFArrayGetCount(CFArrayRef theArray)
CFIndex CFArrayGetCount ( CFArrayRef theArray );

Parameters:
theArray -
Returns:

CFArrayGetValueAtIndex

com.sun.jna.Pointer CFArrayGetValueAtIndex(CFArrayRef theArray,
                                           int idx)
const void * CFArrayGetValueAtIndex ( CFArrayRef theArray, CFIndex idx );

Parameters:
theArray -
idx -
Returns:


Copyright © 2012. All Rights Reserved.