diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-17 20:01:24 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-08-17 20:01:24 (GMT) |
commit | d843a018e94d3083fdc167638cf71b4eb450e29d (patch) | |
tree | 8059bb78289be72b4ed0fdf0b26785caa6800a30 /Mac/Python/gusiconfig.cpp | |
parent | a1795032ca82724446f3278290535b069d01ca11 (diff) | |
download | cpython-d843a018e94d3083fdc167638cf71b4eb450e29d.zip cpython-d843a018e94d3083fdc167638cf71b4eb450e29d.tar.gz cpython-d843a018e94d3083fdc167638cf71b4eb450e29d.tar.bz2 |
Removed temporary code that always set creator to SimpleText.
Diffstat (limited to 'Mac/Python/gusiconfig.cpp')
-rw-r--r-- | Mac/Python/gusiconfig.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Mac/Python/gusiconfig.cpp b/Mac/Python/gusiconfig.cpp index db46619..8b1a1fa 100644 --- a/Mac/Python/gusiconfig.cpp +++ b/Mac/Python/gusiconfig.cpp @@ -48,8 +48,11 @@ void GUSISetupFactories() #ifdef GUSISetupFactories_BeginHook GUSISetupFactories_BeginHook #endif -// GUSIwithInetSockets(); +#if TARGET_API_MAC_CARBON + GUSIwithInetSockets(); +#else GUSIwithMTInetSockets(); +#endif #ifdef GUSISetupFactories_EndHook GUSISetupFactories_EndHook #endif @@ -119,9 +122,11 @@ extern "C" void GUSISetupConfig() if ( prefrh != -1) CloseResFile(prefrh); UseResFile(oldrh); - config->ConfigureDefaultTypeCreator('TEXT', 'ttxt'); + config->ConfigureDefaultTypeCreator('TEXT', 'R*ch'); +#if 0 config->ConfigureSuffices( sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices); +#endif config->ConfigureAutoInitGraf(false); config->ConfigureAutoSpin(false); config->ConfigureHandleAppleEvents(false); |