beautypg.com

Summary of the routing interface 21, Constants 21, Data structures 21 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 785

background image

C H A P T E R 2 1

Routing Interface

Summary of the Routing Interface

21-37

Summary of the Routing Interface

21

Constants

21

ROM_RouteDeleteIcon

// bitmap for delete icon

ROM_RouteDuplicateIcon

// bitmap for duplicate icon

Data Structures

21

Item Frame

21

itemFrame := {

appSymbol:

symbol

,

// appSymbol of sender

destAppSymbol:

symbol

, // receiving app, if different

body:

frame

,

// the data to send

title:

string

,

// item title, e-mail subject

toRef:

array

,

// array of name refs for recipients

cc:

array

,

// array of name refs for copied recipients

bcc:

array

, // array of name refs for blind copies

fromRef:

frame

,

// name ref for sender

currentFormat:

symbol

, // routing format to use

connect:

Boolean

,

// try to connect immediately?

hidden:

Boolean

,

// hide in Out Box?

covert:

Boolean

,

// not logged or saved in Out Box?

completionScript:

Boolean

,

// notify app of state change?

needsResolve:

Boolean

, // body slot contains an alias?

// transport-specific slots

printer:

frame

,

// printer frame; the printer to use

coverPage:

Boolean

,

// use a cover page for fax?

faxResolution:

symbol

, // 'fine or 'normal fax resolution

phoneNumber:

string

,

// phone number, for call transport

name:

string

,

// name, for call transport

serviceProvider:

symbol

, // 'modem, 'speaker, or nil

saveAsLog:

Boolean

,

// log call in Calls app?

}