On 10/31/07, Laurence Harris <email@hidden> wrote:
>
> On Oct 30, 2007, at 1:43 PM, Rosyna wrote:
>
> > Levels be damned. It's good they're finally implementing code that
> > developers have been asking for for years in a place they can
> > actually use it. FSMoveObjectToTrash, FSCopyObject, FSMoveObject,
> > CoreText.
>
> Is FSMoveObjectToTrash documented anywhere? What exactly does it do?
Documented in the newly updated File Manager Reference:
<http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#//apple_ref/c/func/FSMoveObjectToTrashSync>
> Will it rename items if necessary to move them to the Trash?
"This function moves a file or directory to the Trash, adjusting the
object's name if necessary. "
>Will it notify the Dock so the Trash icon changes if the Trash was
empty before?
AFAIK in Leopard (and possibly even in Tiger) the Dock gets the
relevant filesystem notifications and updates its display no matter
how the file ended up there. Are there any network volumes which
support moving files to trash but don't have filesystem notifications?
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden