org.rococoa.cocoa.carboncore
Interface CarbonCoreLibrary.DebugComponentCallbackProcPtr

All Superinterfaces:
Callback
Enclosing interface:
CarbonCoreLibrary

public static interface CarbonCoreLibrary.DebugComponentCallbackProcPtr
extends Callback

DebugComponentCallbackProcPtr

Discussion:
DebugComponentCallback is the callback into a component that
registers with DebugLib. It is called to get the debug option
setting, or to turn a debug option on or off.

Parameters:

optionSelectorNum:
The component debug option to set.

command:
The command the DebugComponentCallbackProc must handle:
kGetDebugOption - get current debug option setting
kSetDebugOption - set debug option

optionSetting:
A pointer to a Boolean where the DebugComponentCallbackProc
must return the option setting: the current setting if command
is kGetDebugOption; the new debug option if command is
kSetDebugOption
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Debugging.h


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Callback
Callback.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Callback
FORBIDDEN_NAMES, METHOD_NAME
 
Method Summary
 void invoke(int optionSelectorNum, int command, boolean optionSetting)
           
 

Method Detail

invoke

void invoke(int optionSelectorNum,
            int command,
            boolean optionSetting)


Copyright © 2009. All Rights Reserved.