Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Introduction to Setting Up Your Carbon Application to Use the Services Menu
Application services give applications an open-ended way to extend each other’s functionality by allowing them to:
Provide services to other applications
Access functionality provided by other applications
An application that provides a service advertises the operation it can perform on a particular type of data—for example, encryption of text, optical character recognition of a bitmapped image, or generating text such as a message of the day. Any application that signs up to use services automatically accesses the advertised functionality through its Services menu. An application doesn’t need to know in advance what operations are available; it merely needs to indicate the types of data it uses, and the Services menu makes available the operations that apply to those types of data.
Who Should Read This Document?
This document describes how application services work, shows some typical Services menus, and provides instructions on how you can use services in your application. You should read this document if you are an application developer and want to provide your application’s services to other applications or make services from other applications available to your application.
Before you read this document, you should be familiar with information property lists. You need to know what they are and how to add properties to a list. Carbon developers should also know how to write and install Carbon event handlers.
Organization of This Document
This document is organized as follows:
Application Services Concepts, discusses the types of services, the Services menu, services properties, and what happens when a service is invoked.
Application Services Tasks, provides instructions on how to set up your application to use services provided by other applications and how to provide your services to other applications.
Carbon Events for Services, describes the Carbon event classes, kinds, and event parameters defined for services events.
See Also
Aqua Human Interface Guidelines in User Experience Documentation provides guidelines on naming menu items and designing the interface for a services application.
Handling Carbon Events in Carbon Events & Other Input Documentation describes how to implement Carbon events in your application.
System Overview in Mac OS X Documentation contains information on property lists and how they are used in Mac OS X.
Learning Carbon, available through O’Reilly and Associates, contains information on writing and using Carbon event handlers as well as information on how to set up and use property lists.
Copyright © 2002, 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-12-10