File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 extern "C" {
88#endif
99
10- #ifdef WITHOUT_FRAMEWORKS
11- #include <Memory.h>
12- #include <Dialogs.h>
13- #include <Menus.h>
14- #include <Controls.h>
15- #include <Components.h>
16- #include <Lists.h>
17- #include <Movies.h>
18- #include <Errors.h>
19- #include <CFBase.h>
20- #include <CFArray.h>
21- #include <CFData.h>
22- #include <CFDictionary.h>
23- #include <CFString.h>
24- #include <CFURL.h>
25- #else
2610#include <Carbon/Carbon.h>
2711#include <QuickTime/QuickTime.h>
28- #endif
2912
3013/*
3114** Helper routines for error codes and such.
Original file line number Diff line number Diff line change @@ -21,11 +21,7 @@ PERFORMANCE OF THIS SOFTWARE.
2121
2222******************************************************************/
2323
24- #ifdef WITHOUT_FRAMEWORKS
25- #include <ColorPicker.h>
26- #else
2724#include <Carbon/Carbon.h>
28- #endif
2925#include "Python.h"
3026#include "macglue.h"
3127#include "pymactoolbox.h"
Original file line number Diff line number Diff line change @@ -32,11 +32,7 @@ PERFORMANCE OF THIS SOFTWARE.
3232#include "Python.h"
3333#include "macglue.h"
3434#include "pymactoolbox.h"
35- #ifdef WITHOUT_FRAMEWORKS
36- #include <Navigation.h>
37- #else
3835#include <Carbon/Carbon.h>
39- #endif
4036
4137static PyObject * ErrorObject ;
4238
Original file line number Diff line number Diff line change 99#include "Python.h"
1010#include "macglue.h"
1111
12- #ifdef WITHOUT_FRAMEWORKS
13- #include <OpenScripting.h>
14- #else
1512#include <Carbon/Carbon.h>
16- #endif
1713
1814static PyObject *
1915PyOSA_GetAppTerminology (PyObject * self , PyObject * args )
Original file line number Diff line number Diff line change @@ -27,12 +27,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2727#include "Python.h"
2828#include "macglue.h"
2929
30- #ifdef WITHOUT_FRAMEWORKS
31- #include <Types.h>
32- #include <Gestalt.h>
33- #else
3430#include <Carbon/Carbon.h>
35- #endif
3631
3732static PyObject *
3833gestalt_gestalt (PyObject * self , PyObject * args )
Original file line number Diff line number Diff line change @@ -34,11 +34,7 @@ PERFORMANCE OF THIS SOFTWARE.
3434
3535extern int ResObj_Convert (PyObject * , Handle * ); /* From Resmodule.c */
3636
37- #ifdef WITHOUT_FRAMEWORKS
38- #include <InternetConfig.h>
39- #else
4037#include <Carbon/Carbon.h>
41- #endif
4238
4339static PyObject * ErrorObject ;
4440
Original file line number Diff line number Diff line change @@ -28,16 +28,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2828#include "macglue.h"
2929#include "pythonresources.h"
3030
31- #ifdef WITHOUT_FRAMEWORKS
32- #include <Windows.h>
33- #include <Files.h>
34- #include <LowMem.h>
35- #include <Sound.h>
36- #include <Events.h>
37- #else
3831#include <Carbon/Carbon.h>
3932#include <ApplicationServices/ApplicationServices.h>
40- #endif
4133
4234static PyObject * MacOS_Error ; /* Exception MacOS.Error */
4335
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2626#include "Python.h"
2727#include "pymactoolbox.h"
2828
29- #ifdef WITHOUT_FRAMEWORKS
30- #include <Script.h>
31- #include <Resources.h>
32- #endif
3329
3430/*
3531** Find out what the current script is.
You can’t perform that action at this time.
0 commit comments