Summary of the transport interface 22, Constants 22, Protos 22 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 824

Advertising
background image

C H A P T E R 2 2

Transport Interface

22-36

Summary of the Transport Interface

Summary of the Transport Interface

22

Constants

22

ROM_RouteMailIcon // bitmap for mail group icon

ROM_RoutePrintIcon // bitmap for print group icon

ROM_RouteFaxIcon // bitmap for fax group icon

ROM_RouteBeamIcon // bitmap for beam group icon

ROM_RouteReply // bitmap for reply action icon

ROM_RouteForward // bitmap for forward action icon

ROM_RouteAddSender // bitmap for add sender to Names icon

ROM_RoutePasteText // bitmap for copy text to Notes icon

Protos

22

protoTransport

22

myTransport := {

_proto: protoTransport, // proto transport object

appSymbol:

symbol

, // transport symbol

title:

string

, // transport name

dataTypes:

array

, // symbols for routing types supported

actionTitle:

string

, // name of transport action

icon:

bitmapFrame

, // transport icon

group:

symbol

, // transport group symbol

groupTitle:

string

, // group name

groupIcon:

bitmapFrame

, // group icon

routingSlip:

viewTemplate

, // routing slip template

transportInfoForm:

viewTemplate

, // routing info template

preferencesForm:

viewTemplate

, // preferences template

statusTemplate:

viewTemplate

, // status template

statusDialog:

view

, // status view

modalStatus:

Boolean

, // modal status dialogs?

dialogStatusMsgs:

frame

, // status strings

status:

symbol

, // current status

addressingClass:

symbol

, // name reference symbol

addressSymbols:

array

, // don’t translate e-mail classes

allowBodyCursors:

Boolean

, // allow cursors in body slot?

defaultConfiguration:

frame

, // user preferences defaults

AppClosed:

function

, // notifies transport of app closing

Advertising