Mac Carbon |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Nov 02, 2007 6:42 pm Post subject: Scrap |
|
|
adc - PutScrapFlavor - Scrap Manager Reference
Code: | OSStatus PutScrapFlavor (
ScrapRef scrap,
ScrapFlavorType flavorType,
ScrapFlavorFlags flavorFlags,
Size flavorSize,
const void *flavorData
); |
Last edited by delovski on Fri Nov 02, 2007 6:54 pm; edited 1 time in total |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Nov 02, 2007 6:44 pm Post subject: |
|
|
adc - Scrap Flavor Types
Code: | typedef FourCharCode ScrapFlavorType;
enum {
kScrapFlavorTypePicture = 'PICT',
kScrapFlavorTypeText = 'TEXT',
kScrapFlavorTypeTextStyle = 'styl',
kScrapFlavorTypeMovie = 'moov',
kScrapFlavorTypeSound = 'snd ',
kScrapFlavorTypeUnicode = 'utxt',
kScrapFlavorTypeUnicodeStyle = 'ustl'
}; |
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Nov 02, 2007 6:49 pm Post subject: |
|
|
adc - Scrap Flavor Flags
Code: | typedef UInt32 ScrapFlavorFlags;
enum {
kScrapFlavorMaskNone = 0x00000000,
kScrapFlavorMaskSenderOnly = 0x00000001,
kScrapFlavorMaskTranslated = 0x00000002
}; |
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Nov 02, 2007 6:53 pm Post subject: |
|
|
adc - Pasteboard Manager Reference
"The Pasteboard Manager supersedes the Scrap Manager and the drag
flavor APIs in the Drag Manager, adding greater flexibility in the type and
quantity of data to be transferred." |
|
Back to top |
|
|
|