Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 2 - Edition Manager / Edition Manager Reference
Edition Manager Routines


Reading and Writing Non-Edition Files

The Edition Manager never opens or closes an edition container directly--it calls the current edition opener. See "Subscribing to Non-Edition Files" beginning on page 2-62 for additional information.

To override the standard opener function, create an opener function that contains the following parameters:

FUNCTION MyOpener (selector: EditionOpenerVerb;
                   VAR PB: EditionOpenerParamBlock): OSErr;
When this function is called by the Edition Manager, the selector parameter is set to one of the edition opener verbs (eoOpen, eoClose, eoOpenNew, eoCloseNew, eoCanSubscribe). The PB parameter contains an edition opener parameter block record.

Use the GetEditionOpenerProc function to locate the current edition opener and use the SetEditionOpenerProc function to provide your own edition opener.

Use the CallEditionOpenerProc function to call an edition opener and use the CallFormatIOProc function to call a format I/O function.


Subtopics
GetEditionOpenerProc
SetEditionOpenerProc
CallEditionOpenerProc
CallFormatIOProc

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996