1 #include <bindings.dsl.h>
2 #include <CoreServices/CoreServices.h>
4 module Bindings.CoreServices.CarbonCore.Finder where
6 import Bindings.CoreServices.CarbonCore.MacTypes
9 #num kClippingPictureType
10 #num kClippingTextType
11 #num kClippingSoundType
12 #num kClippingUnknownType
14 #num kInternetLocationCreator
15 #num kInternetLocationHTTP
16 #num kInternetLocationFTP
17 #num kInternetLocationFile
18 #num kInternetLocationMail
19 #num kInternetLocationNNTP
20 #num kInternetLocationAFP
21 #num kInternetLocationAppleTalk
22 #num kInternetLocationNSL
23 #num kInternetLocationGeneric
25 #num kCustomIconResource
27 #num kCustomBadgeResourceType
28 #num kCustomBadgeResourceID
29 #num kCustomBadgeResourceVersion
31 #starttype struct CustomBadgeResource
32 # field version , <SInt16>
33 # field customBadgeResourceID, <SInt16>
34 # field customBadgeType , <OSType>
35 # field customBadgeCreator , <OSType>
36 # field windowBadgeType , <OSType>
37 # field windowBadgeCreator , <OSType>
38 # field overrideType , <OSType>
39 # field overrideCreator , <OSType>
41 #synonym_t CustomBadgeResourcePtr , Ptr <CustomBadgeResource>
42 #synonym_t CustomBadgeResourceHandle, Ptr <CustomBadgeResourcePtr>
44 #num kRoutingResourceType
45 #num kRoutingResourceID
47 #starttype struct RoutingResourceEntry
48 # field creator , <OSType>
49 # field fileType , <OSType>
50 # field targetFolder , <OSType>
51 # field destinationFolder, <OSType>
52 # field reservedField , <OSType>
54 #synonym_t RoutingResourcePtr , Ptr <RoutingResourceEntry>
55 #synonym_t RoutingResourceHandle, Ptr <RoutingResourcePtr>
57 #num kContainerFolderAliasType
58 #num kContainerTrashAliasType
59 #num kContainerHardDiskAliasType
60 #num kContainerFloppyAliasType
61 #num kContainerServerAliasType
62 #num kApplicationAliasType
63 #num kContainerAliasType
64 #num kDesktopPrinterAliasType
65 #num kContainerCDROMAliasType
66 #num kApplicationCPAliasType
67 #num kApplicationDAAliasType
68 #num kPackageAliasType
69 #num kAppPackageAliasType
71 #num kSystemFolderType
72 #num kAppleMenuFolderAliasType
73 #num kStartupFolderAliasType
74 #num kPrintMonitorDocsFolderAliasType
75 #num kPreferencesFolderAliasType
76 #num kControlPanelFolderAliasType
77 #num kExtensionFolderAliasType
79 #num kExportedFolderAliasType
80 #num kDropFolderAliasType
81 #num kSharedFolderAliasType
82 #num kMountedFolderAliasType
104 #num kExtendedFlagsAreInvalid
105 #num kExtendedFlagHasCustomBadge
106 #num kExtendedFlagObjectIsBusy
107 #num kExtendedFlagHasRoutingInfo
109 #num kFirstMagicBusyFiletype
110 #num kLastMagicBusyFiletype
112 #num kMagicBusyCreationDate
114 #starttype struct FileInfo
115 # field fileType , <OSType>
116 # field fileCreator , <OSType>
117 # field finderFlags , <UInt16>
118 # field location , <Point>
119 # field reservedField, <UInt16>
122 #starttype struct FolderInfo
123 # field windowBounds , <Rect>
124 # field finderFlags , <UInt16>
125 # field location , <Point>
126 # field reservedField, <UInt16>
129 #starttype struct ExtendedFileInfo
130 # array_field reserved1 , <SInt16>
131 # field extendedFinderFlags, <UInt16>
132 # field reserved2 , <SInt16>
133 # field putAwayFolderID , <SInt32>
136 #starttype struct ExtendedFolderInfo
137 # field scrollPosition , <Point>
138 # field reserved1 , <SInt32>
139 # field extendedFinderFlags, <UInt16>
140 # field reserved2 , <SInt16>
141 # field putAwayFolderID , <SInt32>
144 #starttype struct FInfo
145 # field fdType , <OSType>
146 # field fdCreator , <OSType>
147 # field fdFlags , <UInt16>
148 # field fdLocation, <Point>
149 # field fdFldr , <SInt16>
152 #starttype struct FXInfo
153 # field fdIconID , <SInt16>
154 # array_field fdReserved, <SInt16>
155 # field fdScript , <SInt8>
156 # field fdXFlags , <SInt8>
157 # field fdComment, <SInt16>
158 # field fdPutAway, <SInt32>
161 #starttype struct DInfo
162 # field frRect , <Rect>
163 # field frFlags , <UInt16>
164 # field frLocation, <Point>
165 # field frView , <SInt16>
168 #starttype struct DXInfo
169 # field frScroll , <Point>
170 # field frOpenChain, <SInt32>
171 # field frScript , <SInt8>
172 # field frXFlags , <SInt8>
173 # field frComment , <SInt16>
174 # field frPutAway , <SInt32>