Request Attributes

Request attributes are keys attached to a particular request, usually accessed through ILSwapRequest::attributes. More...

Defines

#define kILSwapServiceActionKey   @"swap.action"
 String: the action that was specified by the application that produced this request.
#define kILSwapServicePasteboardNameKey   @"swap.pasteboard"
 String: the name for the pasteboard that contains the data for this request.

Detailed Description

Request attributes are keys attached to a particular request, usually accessed through ILSwapRequest::attributes.

Usually, the only key you will care about is kILSwapServiceActionKey, which is the key that contains the action that was used to produce this request, but you can produce your own custom requests by specifying a dictionary containing these keys to the sendRequestWithAttributes:toApplicationWithRegistration: (ILSwapService) method.


Define Documentation

#define kILSwapServiceActionKey   @"swap.action"

String: the action that was specified by the application that produced this request.

Definition at line 122 of file ILSwapService.h.

#define kILSwapServicePasteboardNameKey   @"swap.pasteboard"

String: the name for the pasteboard that contains the data for this request.

You shouldn't use this key directly; instead, implement the ILSwapServiceDelegate::swapServiceDidReceiveRequest: method in your delegate. This allows SwapKit to dispose of the pasteboard correctly once it's no longer useful (and, in the future, use means other than pasteboards to receive and send data).

Definition at line 125 of file ILSwapService.h.

 All Classes Functions Properties

Generated on Tue Mar 2 13:01:50 2010 for SwapKit by  doxygen 1.6.1