Description of Methods and Functions
RegSoupChange(soupName, uniqueSymbol, callbackFunc)
soupname
uniqueSymbol
callbackFunc
Xmit
. Whenever such a function is called, any callback function registered for the soup that is changed is called automatically.
callbackFunc(soupName, changeSymbol, changeType, changeData)
RegSoupChange
should take four parameters:
soupName
changeSymbol
Xmit
routine (normally the application symbol of the application that made the change).
changeType
changeData
changeType
.
whatThe
symbol is also the creator of the equally memorable: 'holdYourHorses
return result for functions that wish to postpone the power-down process, and the SuckPackageFromEndpoint
method which creates a package from a bytestream. Can you imagine Newton programming if this engineer were given absolute naming control over the entire OS? Interesting thought, isn't it.
UnRegSoupChange(soupName, uniqueSymbol)
soupName
and uniqueSymbol
parameters have the same meaning as for RegSoupChange
.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996