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 / CyberService


ICyberService

Initializes this Cyberdog service.

void ICyberService (in Handle serviceDataHnd,
in long menuCommandOffset, 
out short numMenuCommands);
serviceDataHnd
A handle to the 'srvc' resource associated with the Cyberdog service.
menuCommandOffset
The offset of the service's commands from the Cyberdog service menu object's base command ID.
numMenuCommands
The number of menu items this service defines.
DISCUSSION
This method should initialize a newly created Cyberdog service object. The Cyberdog session calls this method when it loads the Cyberdog service.

If you subclass CyberService and override this method, your override must call its inherited method.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996