Skip to content

Commit

Permalink
WITHOUT_FRAMEWORKS conditional code bites the dust: this was for
Browse files Browse the repository at this point in the history
pre-carbon MacOS9 support.
  • Loading branch information
jackjansen committed Nov 19, 2003
1 parent f387e2d commit 37249c5
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 50 deletions.
17 changes: 0 additions & 17 deletions Include/pymactoolbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,8 @@
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.
Expand Down
4 changes: 0 additions & 4 deletions Mac/Modules/ColorPickermodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ PERFORMANCE OF THIS SOFTWARE.
******************************************************************/

#ifdef WITHOUT_FRAMEWORKS
#include <ColorPicker.h>
#else
#include <Carbon/Carbon.h>
#endif
#include "Python.h"
#include "macglue.h"
#include "pymactoolbox.h"
Expand Down
4 changes: 0 additions & 4 deletions Mac/Modules/Nav.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "macglue.h"
#include "pymactoolbox.h"
#ifdef WITHOUT_FRAMEWORKS
#include <Navigation.h>
#else
#include <Carbon/Carbon.h>
#endif

static PyObject *ErrorObject;

Expand Down
4 changes: 0 additions & 4 deletions Mac/Modules/OSATerminology.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@
#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)
Expand Down
5 changes: 0 additions & 5 deletions Mac/Modules/gestaltmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#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)
Expand Down
4 changes: 0 additions & 4 deletions Mac/Modules/icgluemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ PERFORMANCE OF THIS SOFTWARE.

extern int ResObj_Convert(PyObject *, Handle *); /* From Resmodule.c */

#ifdef WITHOUT_FRAMEWORKS
#include <InternetConfig.h>
#else
#include <Carbon/Carbon.h>
#endif

static PyObject *ErrorObject;

Expand Down
8 changes: 0 additions & 8 deletions Mac/Modules/macosmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#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 */

Expand Down
4 changes: 0 additions & 4 deletions Python/mactoolboxglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "pymactoolbox.h"

#ifdef WITHOUT_FRAMEWORKS
#include <Script.h>
#include <Resources.h>
#endif

/*
** Find out what the current script is.
Expand Down

0 comments on commit 37249c5

Please sign in to comment.