summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-08-14 12:36:37 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-08-14 12:36:37 (GMT)
commit32486f5662b55fdbe065952c9d66da43eca2ed8c (patch)
treeec327ba33bdb69bcea5de0a949e9d17928b628c7 /Mac/Include
parent819f1770f6865ae31bdde57200ed49eb2b3ffa9f (diff)
downloadcpython-32486f5662b55fdbe065952c9d66da43eca2ed8c.zip
cpython-32486f5662b55fdbe065952c9d66da43eca2ed8c.tar.gz
cpython-32486f5662b55fdbe065952c9d66da43eca2ed8c.tar.bz2
Added PyMac_PromptGetFile, removed stuff gone to other sources.
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 13468fb..3a51101 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -29,6 +29,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <Types.h>
#include <Files.h>
#include <Events.h>
+#include <StandardFile.h>
#ifdef GENERATINGCFM /* Defined to 0 or 1 in Universal headers */
#define HAVE_UNIVERSAL_HEADERS
@@ -54,12 +55,12 @@ void PyMac_HandleEvent Py_PROTO((EventRecord *)); /* Handle one event, if possib
int PyMac_Idle(void); /* Idle routine */
-char *PyMac_GetPythonDir(); /* Return the name of the python dir */
-
int PyMac_FindResourceModule(char *, char *); /* Test for 'PYC ' resource in a file */
PyObject * PyMac_LoadResourceModule(char *, char *); /* Load 'PYC ' resource from file */
-int PyMac_GetDirectory(FSSpec *dirfss); /* Ask user for a directory */
+int PyMac_GetDirectory(FSSpec *dirfss, char *prompt); /* Ask user for a directory */
+void PyMac_PromptGetFile(short numTypes, ConstSFTypeListPtr typeList,
+ StandardFileReply *reply, char *prompt); /* Ask user for file, with prompt */
int PyMac_GetOSType(PyObject *, OSType *); /* argument parser for OSType */
PyObject *PyMac_BuildOSType(OSType); /* Convert OSType to PyObject */