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: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods


CyberLogExtension

Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
Subclasses
none
The CyberLogExtension class defines extra behaviors for a part to be used as a log.

Description

The CyberLogExtension class defines an extension that allows a part to be used as a log. The CyberLogExtension class is an abstract superclass that you must subclass and implement to create your own custom log. However, Cyberdog provides a fully implemented log; to use the Cyberdog log, you do not need to subclass this class.

The Cyberdog log implementation is divided between two parts: a log manager and a log part. The Cyberdog log manager (kLogManagerKind) is composed of an object of an ODPart subclass extended with a subclass of CyberLogExtension. The log manager does not provide a user interface. The log user interface is provided by the log part (kLogKind), an object of an ODPart subclass.

You never need to call CyberLogExtension methods directly; the CyberSession class provides the methods you should use to interact with the log.

Methods

This section presents summary descriptions of the CyberLogExtension methods grouped according to purpose, followed by detailed descriptions.

Initialization and Cleanup

Cleanup
Shuts down this log.
Managing the Log Finger

ClearLogFinger
Clears the log finger from a Cyberdog item.
SetLogFinger
Sets the log finger to a particular Cyberdog item.
Adding Items to the Log

AddCyberItemToLog
Adds a Cyberdog item to the log.
ContainsCyberItem
Tests whether a particular Cyberdog item is in the log.
Displaying the Log

IsLogWindowShown
Tests whether the log window is currently displayed.
ShowLogWindow
Displays the log window.

Methods
AddCyberItemToLog
Cleanup
ClearLogFinger
ContainsCyberItem
IsLogWindowShown
SetLogFinger
ShowLogWindow

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996