HFSFlavor

Mac OS X header: Carbon/Carbon.h  
Mac OS 9 header: Drag.h  

Flavor type for dragging file system objects.

struct HFSFlavor {
    OSType fileType; 
    OSType fileCreator; 
    UInt16 fdFlags; 
    FSSpec fileSpec;
};
Field descriptions
fileType

The file type of the object.

fileCreator

The file creator of the object.

fdFlags

The Finder flags of the object.

fileSpec

The FSSpec structure for the object.

Discussion

The Drag Manager defines a special flavor type for dragging file system objects. The HFS drag item flavor is used when dragging document and folder icons in the Finder. The HFS drag item flavor data structure is defined by the HFSFlavor data type.


© 2001 Apple Computer, Inc. (Last Updated July 17, 2001)