summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-19 23:24:37 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-19 23:24:37 (GMT)
commit4f0e05f738daf3f997544f74ebc627a4bf0e737e (patch)
treebe10d0ea825a431ead6cce822c6b53289a2c5d49 /Mac/Lib
parentf955784f0cfeecb94d3f2ade83a5ea548391f74b (diff)
downloadcpython-4f0e05f738daf3f997544f74ebc627a4bf0e737e.zip
cpython-4f0e05f738daf3f997544f74ebc627a4bf0e737e.tar.gz
cpython-4f0e05f738daf3f997544f74ebc627a4bf0e737e.tar.bz2
Gone: the constants have been moved to macfs.py (which, upon import, also
poses as MACFS for backward compatibility).
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/MACFS.py106
1 files changed, 0 insertions, 106 deletions
diff --git a/Mac/Lib/MACFS.py b/Mac/Lib/MACFS.py
deleted file mode 100644
index 225e384..0000000
--- a/Mac/Lib/MACFS.py
+++ /dev/null
@@ -1,106 +0,0 @@
-# MACFS.py - Constants used by macfs routines
-# Derived from Finder.h and Folders.h
-
-# Flags in FInfo.Flags field:
-kIsOnDesk = 0x1
-kColor = 0xE
-kIsShared = 0x40
-kHasBeenInited = 0x100
-kHasCustomIcon = 0x400
-kIsStationery = 0x800
-kIsStationary = 0x800
-kNameLocked = 0x1000
-kHasBundle = 0x2000
-kIsInvisible = 0x4000
-kIsAlias = 0x8000
-
-# Constants for FindFolder
-kOnSystemDisk = -32768 # previously was 0x8000 but that is an unsigned value whereas vRefNum is signed
-kOnAppropriateDisk = -32767 # Generally, the same as kOnSystemDisk, but it's clearer that this isn't always the 'boot' disk.
-# Folder Domains - Carbon only.
-kSystemDomain = -32766 # Read-only system hierarchy.
-kLocalDomain = -32765 # All users of a single machine have access to these resources.
-kNetworkDomain = -32764 # All users configured to use a common network server has access to these resources.
-kUserDomain = -32763 # Read/write. Resources that are private to the user.
-kClassicDomain = -32762 # Domain referring to the currently configured Classic System Folder
-
-kSystemFolderType = 'macs' # the system folder
-kDesktopFolderType = 'desk' # the desktop folder; objects in this folder show on the desk top.
-kTrashFolderType = 'trsh' # the trash folder; objects in this folder show up in the trash
-kWhereToEmptyTrashFolderType = 'empt' # the "empty trash" folder; Finder starts empty from here down
-kPrintMonitorDocsFolderType = 'prnt' # Print Monitor documents
-kStartupFolderType = 'strt' # Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
-kAppleMenuFolderType = 'amnu' # Finder objects to put into the Apple menu go here
-kControlPanelFolderType = 'ctrl' # Control Panels go here (may contain INITs)
-kExtensionFolderType = 'extn' # Finder extensions go here
-kFontsFolderType = 'font' # Fonts go here
-kPreferencesFolderType = 'pref' # preferences for applications go here
-kTemporaryFolderType = 'temp'
-
-# Alias types
-kContainerFolderAliasType = 'fdrp'
-kContainerTrashAliasType = 'trsh'
-kContainerHardDiskAliasType = 'hdsk'
-kContainerFloppyAliasType = 'flpy'
-kContainerServerAliasType = 'srvr'
-kApplicationAliasType = 'adrp'
-kContainerAliasType = 'drop'
-# types for Special folder aliases
-kSystemFolderAliasType = 'fasy'
-kAppleMenuFolderAliasType = 'faam'
-kStartupFolderAliasType = 'fast'
-kPrintMonitorDocsFolderAliasType = 'fapn'
-kPreferencesFolderAliasType = 'fapf'
-kControlPanelFolderAliasType = 'fact'
-kExtensionFolderAliasType = 'faex'
-kExportedFolderAliasType = 'faet'
-kDropFolderAliasType = 'fadr'
-kSharedFolderAliasType = 'fash'
-kMountedFolderAliasType = 'famn'
-
-# New FindFolder constants
-kExtensionDisabledFolderType = 'extD'
-kControlPanelDisabledFolderType = 'ctrD'
-kSystemExtensionDisabledFolderType = 'macD'
-kStartupItemsDisabledFolderType = 'strD'
-kShutdownItemsDisabledFolderType = 'shdD'
-kApplicationsFolderType = 'apps'
-kDocumentsFolderType = 'docs'
-
-kVolumeRootFolderType = 'root'
-kChewableItemsFolderType = 'flnt'
-kApplicationSupportFolderType = 'asup'
-kTextEncodingsFolderType = '\xc4tex'
-kStationeryFolderType = 'odst'
-kOpenDocFolderType = 'odod'
-kOpenDocShellPlugInsFolderType = 'odsp'
-kEditorsFolderType = 'oded'
-kOpenDocEditorsFolderType = '\xc4odf'
-kOpenDocLibrariesFolderType = 'odlb'
-kGenEditorsFolderType = '\xc4edi'
-kHelpFolderType = '\xc4hlp'
-kInternetPlugInFolderType = '\xc4net'
-kModemScriptsFolderType = '\xc4mod'
-kPrinterDescriptionFolderType = 'ppdf'
-kPrinterDriverFolderType = '\xc4prd'
-kScriptingAdditionsFolderType = '\xc4scr'
-kSharedLibrariesFolderType = '\xc4lib'
-kVoicesFolderType = 'fvoc'
-kControlStripModulesFolderType = 'sdev'
-kAssistantsFolderType = 'ast\xc4'
-kUtilitiesFolderType = 'uti\xc4'
-kAppleExtrasFolderType = 'aex\xc4'
-kContextualMenuItemsFolderType = 'cmnu'
-kMacOSReadMesFolderType = 'mor\xc4'
-kALMModulesFolderType = 'walk'
-kALMPreferencesFolderType = 'trip'
-kALMLocationsFolderType = 'fall'
-kColorSyncProfilesFolderType = 'prof'
-kThemesFolderType = 'thme'
-kFavoritesFolderType = 'favs'
-
-# Don't remember why this is here
-READ = 1
-WRITE = 2
-smAllScripts = -3
-