Skip to content

Package io.github.qishr.cascara.macos.files

Interface Carbon

java.lang.Object
        io.github.qishr.cascara.macos.files.MacosOpenFileListener.Carbon

All Implemented Interfaces:
    Library

Enclosing Class:
    io.github.qishr.cascara.macos.files.MacosOpenFileListener


public static interface Carbon

Interface for macOS Carbon framework Apple Event handling.This is your original shape, plus AEGetParamPtr added.

Field Summary

Modifier and Type Field Description
public static final Carbon INSTANCE

Method Summary

Modifier and Type Method Description
public abstract int AEInstallEventHandler(int eventClass, int eventID, Callback handler, Pointer refcon, boolean isSysHandler)
public abstract int AEGetParamDesc(Pointer appleEvent, int keyword, int desiredType, AEDesc resultDesc)
public abstract int AECountItems(AEDesc descList, IntByReference count)
public abstract int AEGetNthPtr(AEDesc descList, int index, int desiredType, Pointer keyword, Pointer actualType, byte[] buffer, int bufferSize, IntByReference actualSize)
public abstract int AEGetParamPtr(Pointer appleEvent, int keyword, int desiredType, Pointer actualType, byte[] dataPtr, int maximumSize, IntByReference actualSize)

Field Details

INSTANCE

public static final Carbon INSTANCE


Method Details

AEInstallEventHandler

public abstract int AEInstallEventHandler(int eventClass, int eventID, Callback handler, Pointer refcon, boolean isSysHandler)


AEGetParamDesc

public abstract int AEGetParamDesc(Pointer appleEvent, int keyword, int desiredType, AEDesc resultDesc)


AECountItems

public abstract int AECountItems(AEDesc descList, IntByReference count)


AEGetNthPtr

public abstract int AEGetNthPtr(AEDesc descList, int index, int desiredType, Pointer keyword, Pointer actualType, byte[] buffer, int bufferSize, IntByReference actualSize)


AEGetParamPtr

public abstract int AEGetParamPtr(Pointer appleEvent, int keyword, int desiredType, Pointer actualType, byte[] dataPtr, int maximumSize, IntByReference actualSize)