typedef TQ3FunctionPointer (*TQ3MetaHandler) (
TQ3MethodType methodType);
methodType
A method type.
TQ3MetaHandler
function should return a function pointer (a value of type TQ3FunctionPointer
) to the custom method whose type is specified by the methodType
parameter. If you do not define a method of the specified type, your metahandler should return the value NULL
.
In general, your metahandler should contain a switch
statement that branches on the methodType
parameter. QuickDraw3D calls your metahandler repeatedly to build a method table when you first pass it to a QuickDraw3D routine. Once QuickDraw3D has finished building the method table, your metahandler is never called again. (When any one of your custom methods is called, you can be certain that your metahandler will not be called again.)
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker