pre-carbon MacOS9 support.
extern "C" {
#endif
-#ifdef WITHOUT_FRAMEWORKS
-#include <Memory.h>
-#include <Dialogs.h>
-#include <Menus.h>
-#include <Controls.h>
-#include <Components.h>
-#include <Lists.h>
-#include <Movies.h>
-#include <Errors.h>
-#include <CFBase.h>
-#include <CFArray.h>
-#include <CFData.h>
-#include <CFDictionary.h>
-#include <CFString.h>
-#include <CFURL.h>
-#else
#include <Carbon/Carbon.h>
#include <QuickTime/QuickTime.h>
-#endif
/*
** Helper routines for error codes and such.
******************************************************************/
-#ifdef WITHOUT_FRAMEWORKS
-#include <ColorPicker.h>
-#else
#include <Carbon/Carbon.h>
-#endif
#include "Python.h"
#include "macglue.h"
#include "pymactoolbox.h"
#include "Python.h"
#include "macglue.h"
#include "pymactoolbox.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Navigation.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *ErrorObject;
#include "Python.h"
#include "macglue.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <OpenScripting.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *
PyOSA_GetAppTerminology(PyObject* self, PyObject* args)
#include "Python.h"
#include "macglue.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Types.h>
-#include <Gestalt.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *
gestalt_gestalt(PyObject *self, PyObject *args)
extern int ResObj_Convert(PyObject *, Handle *); /* From Resmodule.c */
-#ifdef WITHOUT_FRAMEWORKS
-#include <InternetConfig.h>
-#else
#include <Carbon/Carbon.h>
-#endif
static PyObject *ErrorObject;
#include "macglue.h"
#include "pythonresources.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Windows.h>
-#include <Files.h>
-#include <LowMem.h>
-#include <Sound.h>
-#include <Events.h>
-#else
#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
-#endif
static PyObject *MacOS_Error; /* Exception MacOS.Error */
#include "Python.h"
#include "pymactoolbox.h"
-#ifdef WITHOUT_FRAMEWORKS
-#include <Script.h>
-#include <Resources.h>
-#endif
/*
** Find out what the current script is.