summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-11-22 15:53:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-11-22 15:53:32 (GMT)
commitd0e59fb68d62939477e0f5afb53bd4cc47f8288e (patch)
treed8328afa1121d888e7ef60fae7e3649aef03a832 /Mac/Lib
parente2ba87396cde5b57259405722910c560f7d237c6 (diff)
downloadcpython-d0e59fb68d62939477e0f5afb53bd4cc47f8288e.zip
cpython-d0e59fb68d62939477e0f5afb53bd4cc47f8288e.tar.gz
cpython-d0e59fb68d62939477e0f5afb53bd4cc47f8288e.tar.bz2
Added the alias manager too. The interface isn't perfect yet: the alias
manager doesn't always have the alias as the first argument, so things become functions in stead of methods.
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/Carbon/Alias.py1
-rw-r--r--Mac/Lib/Carbon/Aliases.py18
2 files changed, 19 insertions, 0 deletions
diff --git a/Mac/Lib/Carbon/Alias.py b/Mac/Lib/Carbon/Alias.py
new file mode 100644
index 0000000..cb612a6
--- /dev/null
+++ b/Mac/Lib/Carbon/Alias.py
@@ -0,0 +1 @@
+from _Alias import *
diff --git a/Mac/Lib/Carbon/Aliases.py b/Mac/Lib/Carbon/Aliases.py
new file mode 100644
index 0000000..1211e3d
--- /dev/null
+++ b/Mac/Lib/Carbon/Aliases.py
@@ -0,0 +1,18 @@
+# Generated from 'Aliases.h'
+
+def FOUR_CHAR_CODE(x): return x
+true = True
+false = False
+rAliasType = FOUR_CHAR_CODE('alis')
+kARMMountVol = 0x00000001
+kARMNoUI = 0x00000002
+kARMMultVols = 0x00000008
+kARMSearch = 0x00000100
+kARMSearchMore = 0x00000200
+kARMSearchRelFirst = 0x00000400
+asiZoneName = -3
+asiServerName = -2
+asiVolumeName = -1
+asiAliasName = 0
+asiParentName = 1
+kResolveAliasFileNoUI = 0x00000001