comparison dstep/coreservices/carboncore/Folders.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents 07194b026fa4
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
57 private 57 private
58 { 58 {
59 const __kDocumentsFolderType = getOSType!("docs"); 59 const __kDocumentsFolderType = getOSType!("docs");
60 const __kPictureDocumentsFolderType = getOSType!("pdoc"); 60 const __kPictureDocumentsFolderType = getOSType!("pdoc");
61 const __kMovieDocumentsFolderType = getOSType!("mdoc"); 61 const __kMovieDocumentsFolderType = getOSType!("mdoc");
62 const __kMusicDocumentsFolderType = getOSType!("xB5646F6");
63 const __kInternetSitesFolderType = getOSType!("site"); 62 const __kInternetSitesFolderType = getOSType!("site");
64 const __kPublicFolderType = getOSType!("pubb"); 63 const __kPublicFolderType = getOSType!("pubb");
65 64
66 } 65 }
67 } 66 }
70 version (GNU) 69 version (GNU)
71 { 70 {
72 private 71 private
73 { 72 {
74 const __kVoicesFolderType = getOSType!("fvoc"); 73 const __kVoicesFolderType = getOSType!("fvoc");
75 const __kUtilitiesFolderType = getOSType!("x757469C");
76 const __kThemesFolderType = getOSType!("thme"); 74 const __kThemesFolderType = getOSType!("thme");
77 const __kFavoritesFolderType = getOSType!("favs"); 75 const __kFavoritesFolderType = getOSType!("favs");
78 const __kInternetSearchSitesFolderType = getOSType!("issf"); 76 const __kInternetSearchSitesFolderType = getOSType!("issf");
79 const __kInstallerLogsFolderType = getOSType!("ilgf"); 77 const __kInstallerLogsFolderType = getOSType!("ilgf");
80 const __kScriptsFolderType = getOSType!("x736372C");
81 const __kFolderActionsFolderType = getOSType!("fasf"); 78 const __kFolderActionsFolderType = getOSType!("fasf");
82 const __kSpeakableItemsFolderType = getOSType!("spki"); 79 const __kSpeakableItemsFolderType = getOSType!("spki");
83 const __kKeychainFolderType = getOSType!("kchn"); 80 const __kKeychainFolderType = getOSType!("kchn");
84 81
85 } 82 }
153 { 150 {
154 private 151 private
155 { 152 {
156 const __kColorSyncProfilesFolderType = getOSType!("prof"); 153 const __kColorSyncProfilesFolderType = getOSType!("prof");
157 const __kApplicationSupportFolderType = getOSType!("asup"); 154 const __kApplicationSupportFolderType = getOSType!("asup");
158 const __kTextEncodingsFolderType = getOSType!("xC474657");
159 const __kPrinterDescriptionFolderType = getOSType!("ppdf"); 155 const __kPrinterDescriptionFolderType = getOSType!("ppdf");
160 const __kPrinterDriverFolderType = getOSType!("xC470726");
161 const __kScriptingAdditionsFolderType = getOSType!("xC473637");
162
163 } 156 }
164 } 157 }
165 158
166 // This is needed otherwise the enums will fail compiling with gdc 159 // This is needed otherwise the enums will fail compiling with gdc
167 version (GNU) 160 version (GNU)
183 const __kSystemTrashFolderType = getOSType!("strs"); 176 const __kSystemTrashFolderType = getOSType!("strs");
184 const __kPrintMonitorDocsFolderType = getOSType!("prnt"); 177 const __kPrintMonitorDocsFolderType = getOSType!("prnt");
185 const __kALMModulesFolderType = getOSType!("walk"); 178 const __kALMModulesFolderType = getOSType!("walk");
186 const __kALMPreferencesFolderType = getOSType!("trip"); 179 const __kALMPreferencesFolderType = getOSType!("trip");
187 const __kALMLocationsFolderType = getOSType!("fall"); 180 const __kALMLocationsFolderType = getOSType!("fall");
188 const __kAppleExtrasFolderType = getOSType!("x616578C");
189 const __kContextualMenuItemsFolderType = getOSType!("cmnu"); 181 const __kContextualMenuItemsFolderType = getOSType!("cmnu");
190 const __kMacOSReadMesFolderType = getOSType!("x6D6F72C");
191 const __kStartupFolderType = getOSType!("strt"); 182 const __kStartupFolderType = getOSType!("strt");
192 const __kShutdownFolderType = getOSType!("shdf"); 183 const __kShutdownFolderType = getOSType!("shdf");
193 const __kAppleMenuFolderType = getOSType!("amnu"); 184 const __kAppleMenuFolderType = getOSType!("amnu");
194 const __kControlPanelFolderType = getOSType!("ctrl"); 185 const __kControlPanelFolderType = getOSType!("ctrl");
195 const __kSystemControlPanelFolderType = getOSType!("sctl"); 186 const __kSystemControlPanelFolderType = getOSType!("sctl");
197 const __kExtensionDisabledFolderType = getOSType!("extD"); 188 const __kExtensionDisabledFolderType = getOSType!("extD");
198 const __kControlPanelDisabledFolderType = getOSType!("ctrD"); 189 const __kControlPanelDisabledFolderType = getOSType!("ctrD");
199 const __kSystemExtensionDisabledFolderType = getOSType!("macD"); 190 const __kSystemExtensionDisabledFolderType = getOSType!("macD");
200 const __kStartupItemsDisabledFolderType = getOSType!("strD"); 191 const __kStartupItemsDisabledFolderType = getOSType!("strD");
201 const __kShutdownItemsDisabledFolderType = getOSType!("shdD"); 192 const __kShutdownItemsDisabledFolderType = getOSType!("shdD");
202 const __kAssistantsFolderType = getOSType!("x617374C");
203 const __kStationeryFolderType = getOSType!("odst"); 193 const __kStationeryFolderType = getOSType!("odst");
204 const __kOpenDocFolderType = getOSType!("odod"); 194 const __kOpenDocFolderType = getOSType!("odod");
205 const __kOpenDocShellPlugInsFolderType = getOSType!("odsp"); 195 const __kOpenDocShellPlugInsFolderType = getOSType!("odsp");
206 const __kEditorsFolderType = getOSType!("oded"); 196 const __kEditorsFolderType = getOSType!("oded");
207 const __kOpenDocEditorsFolderType = getOSType!("xC46F646");
208 const __kOpenDocLibrariesFolderType = getOSType!("odlb"); 197 const __kOpenDocLibrariesFolderType = getOSType!("odlb");
209 const __kGenEditorsFolderType = getOSType!("xC465646");
210 const __kHelpFolderType = getOSType!("xC4686C7");
211 const __kInternetPlugInFolderType = getOSType!("xC46E657");
212 const __kModemScriptsFolderType = getOSType!("xC46D6F6");
213 const __kControlStripModulesFolderType = getOSType!("sdev"); 198 const __kControlStripModulesFolderType = getOSType!("sdev");
214 const __kInternetFolderType = getOSType!("x696E74C");
215 const __kAppearanceFolderType = getOSType!("appr"); 199 const __kAppearanceFolderType = getOSType!("appr");
216 const __kSoundSetsFolderType = getOSType!("snds"); 200 const __kSoundSetsFolderType = getOSType!("snds");
217 const __kDesktopPicturesFolderType = getOSType!("x647470C");
218 const __kFindSupportFolderType = getOSType!("fnds"); 201 const __kFindSupportFolderType = getOSType!("fnds");
219 const __kRecentApplicationsFolderType = getOSType!("rapp"); 202 const __kRecentApplicationsFolderType = getOSType!("rapp");
220 const __kRecentDocumentsFolderType = getOSType!("rdoc"); 203 const __kRecentDocumentsFolderType = getOSType!("rdoc");
221 const __kRecentServersFolderType = getOSType!("rsvr"); 204 const __kRecentServersFolderType = getOSType!("rsvr");
222 const __kLauncherItemsFolderType = getOSType!("laun"); 205 const __kLauncherItemsFolderType = getOSType!("laun");
223 const __kQuickTimeExtensionsFolderType = getOSType!("qtex"); 206 const __kQuickTimeExtensionsFolderType = getOSType!("qtex");
224 const __kDisplayExtensionsFolderType = getOSType!("dspl"); 207 const __kDisplayExtensionsFolderType = getOSType!("dspl");
225 const __kMultiprocessingFolderType = getOSType!("mpxf"); 208 const __kMultiprocessingFolderType = getOSType!("mpxf");
226 const __kPrintingPlugInsFolderType = getOSType!("pplg"); 209 const __kPrintingPlugInsFolderType = getOSType!("pplg");
227 const __kAppleshareAutomountServerAliasesFolderType = getOSType!("x737276C");
228 const __kVolumeSettingsFolderType = getOSType!("vsfd"); 210 const __kVolumeSettingsFolderType = getOSType!("vsfd");
229 const __kPreMacOS91ApplicationsFolderType = getOSType!("x8C70707");
230 const __kPreMacOS91InstallerLogsFolderType = getOSType!("x946C676");
231 const __kPreMacOS91AssistantsFolderType = getOSType!("x8C7374C");
232 const __kPreMacOS91UtilitiesFolderType = getOSType!("x9F7469C");
233 const __kPreMacOS91AppleExtrasFolderType = getOSType!("x8C6578C");
234 const __kPreMacOS91MacOSReadMesFolderType = getOSType!("xB56F72C");
235 const __kPreMacOS91InternetFolderType = getOSType!("x946E74C");
236 const __kPreMacOS91AutomountedServersFolderType = getOSType!("xA77276C");
237 const __kPreMacOS91StationeryFolderType = getOSType!("xBF64737");
238 const __kLocalesFolderType = getOSType!("xC46C6F6");
239 const __kFindByContentPluginsFolderType = getOSType!("fbcp"); 211 const __kFindByContentPluginsFolderType = getOSType!("fbcp");
240 const __kFindByContentFolderType = getOSType!("fbcf"); 212 const __kFindByContentFolderType = getOSType!("fbcf");
241 213
242 } 214 }
243 } 215 }
370 enum 342 enum
371 { 343 {
372 kDocumentsFolderType = getOSType!("docs"), 344 kDocumentsFolderType = getOSType!("docs"),
373 kPictureDocumentsFolderType = getOSType!("pdoc"), 345 kPictureDocumentsFolderType = getOSType!("pdoc"),
374 kMovieDocumentsFolderType = getOSType!("mdoc"), 346 kMovieDocumentsFolderType = getOSType!("mdoc"),
375 kMusicDocumentsFolderType = getOSType!("xB5646F6"), 347 kMusicDocumentsFolderType = 0xB5646F63,
376 kInternetSitesFolderType = getOSType!("site"), 348 kInternetSitesFolderType = getOSType!("site"),
377 kPublicFolderType = getOSType!("pubb") 349 kPublicFolderType = getOSType!("pubb")
378 } 350 }
379 351
380 enum 352 enum
381 { 353 {
382 kSharedLibrariesFolderType = 0xC46C6962, 354 kSharedLibrariesFolderType = 0xC46C6962,
383 kVoicesFolderType = getOSType!("fvoc"), 355 kVoicesFolderType = getOSType!("fvoc"),
384 kUtilitiesFolderType = getOSType!("x757469C"), 356 kUtilitiesFolderType = 0x757469C4,
385 kThemesFolderType = getOSType!("thme"), 357 kThemesFolderType = getOSType!("thme"),
386 kFavoritesFolderType = getOSType!("favs"), 358 kFavoritesFolderType = getOSType!("favs"),
387 kInternetSearchSitesFolderType = getOSType!("issf"), 359 kInternetSearchSitesFolderType = getOSType!("issf"),
388 kInstallerLogsFolderType = getOSType!("ilgf"), 360 kInstallerLogsFolderType = getOSType!("ilgf"),
389 kScriptsFolderType = getOSType!("x736372C"), 361 kScriptsFolderType = 0x736372C4,
390 kFolderActionsFolderType = getOSType!("fasf"), 362 kFolderActionsFolderType = getOSType!("fasf"),
391 kSpeakableItemsFolderType = getOSType!("spki"), 363 kSpeakableItemsFolderType = getOSType!("spki"),
392 kKeychainFolderType = getOSType!("kchn") 364 kKeychainFolderType = getOSType!("kchn")
393 } 365 }
394 366
452 424
453 enum 425 enum
454 { 426 {
455 kColorSyncProfilesFolderType = getOSType!("prof"), 427 kColorSyncProfilesFolderType = getOSType!("prof"),
456 kApplicationSupportFolderType = getOSType!("asup"), 428 kApplicationSupportFolderType = getOSType!("asup"),
457 kTextEncodingsFolderType = getOSType!("xC474657"), 429 kTextEncodingsFolderType = 0xC4746578,
458 kPrinterDescriptionFolderType = getOSType!("ppdf"), 430 kPrinterDescriptionFolderType = getOSType!("ppdf"),
459 kPrinterDriverFolderType = getOSType!("xC470726"), 431 kPrinterDriverFolderType = 0xC4707264,
460 kScriptingAdditionsFolderType = getOSType!("xC473637") 432 kScriptingAdditionsFolderType = 0xC4736372
461 } 433 }
462 434
463 enum 435 enum
464 { 436 {
465 kClassicPreferencesFolderType = getOSType!("cprf") 437 kClassicPreferencesFolderType = getOSType!("cprf")
472 kSystemTrashFolderType = getOSType!("strs"), 444 kSystemTrashFolderType = getOSType!("strs"),
473 kPrintMonitorDocsFolderType = getOSType!("prnt"), 445 kPrintMonitorDocsFolderType = getOSType!("prnt"),
474 kALMModulesFolderType = getOSType!("walk"), 446 kALMModulesFolderType = getOSType!("walk"),
475 kALMPreferencesFolderType = getOSType!("trip"), 447 kALMPreferencesFolderType = getOSType!("trip"),
476 kALMLocationsFolderType = getOSType!("fall"), 448 kALMLocationsFolderType = getOSType!("fall"),
477 kAppleExtrasFolderType = getOSType!("x616578C"), 449 kAppleExtrasFolderType = 0x616578C4,
478 kContextualMenuItemsFolderType = getOSType!("cmnu"), 450 kContextualMenuItemsFolderType = getOSType!("cmnu"),
479 kMacOSReadMesFolderType = getOSType!("x6D6F72C"), 451 kMacOSReadMesFolderType = 0x6D6F72C4,
480 kStartupFolderType = getOSType!("strt"), 452 kStartupFolderType = getOSType!("strt"),
481 kShutdownFolderType = getOSType!("shdf"), 453 kShutdownFolderType = getOSType!("shdf"),
482 kAppleMenuFolderType = getOSType!("amnu"), 454 kAppleMenuFolderType = getOSType!("amnu"),
483 kControlPanelFolderType = getOSType!("ctrl"), 455 kControlPanelFolderType = getOSType!("ctrl"),
484 kSystemControlPanelFolderType = getOSType!("sctl"), 456 kSystemControlPanelFolderType = getOSType!("sctl"),
486 kExtensionDisabledFolderType = getOSType!("extD"), 458 kExtensionDisabledFolderType = getOSType!("extD"),
487 kControlPanelDisabledFolderType = getOSType!("ctrD"), 459 kControlPanelDisabledFolderType = getOSType!("ctrD"),
488 kSystemExtensionDisabledFolderType = getOSType!("macD"), 460 kSystemExtensionDisabledFolderType = getOSType!("macD"),
489 kStartupItemsDisabledFolderType = getOSType!("strD"), 461 kStartupItemsDisabledFolderType = getOSType!("strD"),
490 kShutdownItemsDisabledFolderType = getOSType!("shdD"), 462 kShutdownItemsDisabledFolderType = getOSType!("shdD"),
491 kAssistantsFolderType = getOSType!("x617374C"), 463 kAssistantsFolderType = 0x617374C4,
492 kStationeryFolderType = getOSType!("odst"), 464 kStationeryFolderType = getOSType!("odst"),
493 kOpenDocFolderType = getOSType!("odod"), 465 kOpenDocFolderType = getOSType!("odod"),
494 kOpenDocShellPlugInsFolderType = getOSType!("odsp"), 466 kOpenDocShellPlugInsFolderType = getOSType!("odsp"),
495 kEditorsFolderType = getOSType!("oded"), 467 kEditorsFolderType = getOSType!("oded"),
496 kOpenDocEditorsFolderType = getOSType!("xC46F646"), 468 kOpenDocEditorsFolderType = 0xC46F6466,
497 kOpenDocLibrariesFolderType = getOSType!("odlb"), 469 kOpenDocLibrariesFolderType = getOSType!("odlb"),
498 kGenEditorsFolderType = getOSType!("xC465646"), 470 kGenEditorsFolderType = 0xC4656469,
499 kHelpFolderType = getOSType!("xC4686C7"), 471 kHelpFolderType = 0xC4686C70,
500 kInternetPlugInFolderType = getOSType!("xC46E657"), 472 kInternetPlugInFolderType = 0xC46E6574,
501 kModemScriptsFolderType = getOSType!("xC46D6F6"), 473 kModemScriptsFolderType = 0xC46D6F64,
502 kControlStripModulesFolderType = getOSType!("sdev"), 474 kControlStripModulesFolderType = getOSType!("sdev"),
503 kInternetFolderType = getOSType!("x696E74C"), 475 kInternetFolderType = 0x696E74C4,
504 kAppearanceFolderType = getOSType!("appr"), 476 kAppearanceFolderType = getOSType!("appr"),
505 kSoundSetsFolderType = getOSType!("snds"), 477 kSoundSetsFolderType = getOSType!("snds"),
506 kDesktopPicturesFolderType = getOSType!("x647470C"), 478 kDesktopPicturesFolderType = 0x647470C4,
507 kFindSupportFolderType = getOSType!("fnds"), 479 kFindSupportFolderType = getOSType!("fnds"),
508 kRecentApplicationsFolderType = getOSType!("rapp"), 480 kRecentApplicationsFolderType = getOSType!("rapp"),
509 kRecentDocumentsFolderType = getOSType!("rdoc"), 481 kRecentDocumentsFolderType = getOSType!("rdoc"),
510 kRecentServersFolderType = getOSType!("rsvr"), 482 kRecentServersFolderType = getOSType!("rsvr"),
511 kLauncherItemsFolderType = getOSType!("laun"), 483 kLauncherItemsFolderType = getOSType!("laun"),
512 kQuickTimeExtensionsFolderType = getOSType!("qtex"), 484 kQuickTimeExtensionsFolderType = getOSType!("qtex"),
513 kDisplayExtensionsFolderType = getOSType!("dspl"), 485 kDisplayExtensionsFolderType = getOSType!("dspl"),
514 kMultiprocessingFolderType = getOSType!("mpxf"), 486 kMultiprocessingFolderType = getOSType!("mpxf"),
515 kPrintingPlugInsFolderType = getOSType!("pplg"), 487 kPrintingPlugInsFolderType = getOSType!("pplg"),
516 kAppleshareAutomountServerAliasesFolderType = getOSType!("x737276C"), 488 kAppleshareAutomountServerAliasesFolderType = 0x737276C4,
517 kVolumeSettingsFolderType = getOSType!("vsfd"), 489 kVolumeSettingsFolderType = getOSType!("vsfd"),
518 kPreMacOS91ApplicationsFolderType = getOSType!("x8C70707"), 490 kPreMacOS91ApplicationsFolderType = 0x8C707073,
519 kPreMacOS91InstallerLogsFolderType = getOSType!("x946C676"), 491 kPreMacOS91InstallerLogsFolderType = 0x946C6766,
520 kPreMacOS91AssistantsFolderType = getOSType!("x8C7374C"), 492 kPreMacOS91AssistantsFolderType = 0x8C7374C4,
521 kPreMacOS91UtilitiesFolderType = getOSType!("x9F7469C"), 493 kPreMacOS91UtilitiesFolderType = 0x9F7469C4,
522 kPreMacOS91AppleExtrasFolderType = getOSType!("x8C6578C"), 494 kPreMacOS91AppleExtrasFolderType = 0x8C6578C4,
523 kPreMacOS91MacOSReadMesFolderType = getOSType!("xB56F72C"), 495 kPreMacOS91MacOSReadMesFolderType = 0xB56F72C4,
524 kPreMacOS91InternetFolderType = getOSType!("x946E74C"), 496 kPreMacOS91InternetFolderType = 0x946E74C4,
525 kPreMacOS91AutomountedServersFolderType = getOSType!("xA77276C"), 497 kPreMacOS91AutomountedServersFolderType = 0xA77276C4,
526 kPreMacOS91StationeryFolderType = getOSType!("xBF64737"), 498 kPreMacOS91StationeryFolderType = 0xBF647374,
527 kLocalesFolderType = getOSType!("xC46C6F6"), 499 kLocalesFolderType = 0xC46C6F63,
528 kFindByContentPluginsFolderType = getOSType!("fbcp"), 500 kFindByContentPluginsFolderType = getOSType!("fbcp"),
529 kFindByContentFolderType = getOSType!("fbcf") 501 kFindByContentFolderType = getOSType!("fbcf")
530 } 502 }
531 503
532 enum 504 enum