Hello.

I'm implementing some logic to enable drag from my application's NSTableView and drop on the Final Cut Pro's project. I found out that it was not possible with NSFilenamesPboardType. When I compared it a drag&drop from the Finder to the FCP, the one between the Finder and the FCP contained "fURL" and "hfs" flavors and its hfs flavor data showed that the dragged item was a QuickTime movie, while the one between from my program and the Finder contained same kind of data but its "hfs" flavor didn't show that it was a QuickTime movie. So, I tried using NSCreateFilenamePboardType( @"mov" ) and NSCreateFilenamePboardType( (NSString *)kUTTypeQuickTimeMovie ); but they didn't allow the drag&drop. Although the default NSFilenamesPboardType generates "fURL" and "hfs" flavor, the one from NSCreateFilenamePboardType() doesn't generate them. So, I started thinking that mechanism using NSCreateFilenamePboardType() is on its way to death.

So, I read Apple's document further, and found out that the Carbon's pasteboard manager dropped many functions like something related to flavors. Almost all functions are deprecated, and it gave me feeling that probably the Carbon's pasteboard manager would work like that of Cocoa. (Well, eventually Carbon would die, but.. at least 64bit support on the Carbon and GUI support look so. )
So, I wonder if I really give up drag&drop from my application and the FCP.
The FCP looks like a Carbon app. So, I may need to write carbon code to put "hfs" flavor. But I doubt if it is worth while to doing so.

So, can anyone tell me how the Carbon's pasteboard manager will change, and why Cocoa's pasteboard manager doesn't reveal some methods which handles flavors easily? Probably flavors are being deprecated also? ( Although there should be some similar mechanism.. )

I will appreciate any comment.
Thank you.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to