org.rococoa.cocoa.quicktime
Class QTCustomControlNewRecord

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.quicktime.QTCustomControlNewRecord
Direct Known Subclasses:
QTCustomControlNewRecord.ByReference, QTCustomControlNewRecord.ByValue

public class QTCustomControlNewRecord
extends com.ochafik.lang.jnaerator.runtime.Structure

pdActionCustomNewControlControl is called by application to create a new custom control or set of controls
for an effect parameter. When pdActionCustomNewControl is called, the effect should perform any
basic allocation it needs for storage and return the result in storage. The options parameter tells
the control if the application wishes to support interpolated, optionally interpolated, or a single
value parameter.
Since pdActionCustomNewControlControl may be called upon your effect for other items within the
dialog, it is recommended that your effect have an easy way to determine which controls it implements:
a) by having storage be a pointer with an OSType at the begining to mark controls
implemented by your code.
- or -
b) keeping track in your component globals those custom controls which you have created.
When pdActionCustomDisposeControl is called any allocation done by the control should be disposed. In addition,
pdActionCustomDisposeControl is the last chance the control has to commit any user changes into the sample.
Controls which implement type in fields typically need to commit any final user edits at this time.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class QTCustomControlNewRecord.ByReference
           
static class QTCustomControlNewRecord.ByValue
           
 
Field Summary
 NativeLong customID
           
 NativeLong customType
           
 NativeLong options
           
 Pointer storage
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
QTCustomControlNewRecord()
           
QTCustomControlNewRecord(Pointer storage, NativeLong options, NativeLong customType, NativeLong customID)
           
 
Method Summary
 QTCustomControlNewRecord.ByReference byReference()
           
 QTCustomControlNewRecord.ByValue byValue()
           
 QTCustomControlNewRecord clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

storage

public Pointer storage

options

public NativeLong options

customType

public NativeLong customType

customID

public NativeLong customID
Constructor Detail

QTCustomControlNewRecord

public QTCustomControlNewRecord()

QTCustomControlNewRecord

public QTCustomControlNewRecord(Pointer storage,
                                NativeLong options,
                                NativeLong customType,
                                NativeLong customID)
Parameters:
storage - storage allocated/disposed by the control
options - options used to control interpolation/not
customType - custom type and ID specified by effect for creation of this control
Method Detail

byReference

public QTCustomControlNewRecord.ByReference byReference()

byValue

public QTCustomControlNewRecord.ByValue byValue()

clone

public QTCustomControlNewRecord clone()
Overrides:
clone in class Object