comparison Mac/Python/gusiconfig.cpp @ 14025:ae228a64293e legacy-trunk

Removed temporary code that always set creator to SimpleText.
author Jack Jansen <jack.jansen@cwi.nl>
date Thu, 17 Aug 2000 20:01:24 +0000
parents a8afefc4fced
children 219ce9622352
comparison
equal deleted inserted replaced
14024:0460cccefe4e 14025:ae228a64293e
46 void GUSISetupFactories() 46 void GUSISetupFactories()
47 { 47 {
48 #ifdef GUSISetupFactories_BeginHook 48 #ifdef GUSISetupFactories_BeginHook
49 GUSISetupFactories_BeginHook 49 GUSISetupFactories_BeginHook
50 #endif 50 #endif
51 // GUSIwithInetSockets(); 51 #if TARGET_API_MAC_CARBON
52 GUSIwithInetSockets();
53 #else
52 GUSIwithMTInetSockets(); 54 GUSIwithMTInetSockets();
55 #endif
53 #ifdef GUSISetupFactories_EndHook 56 #ifdef GUSISetupFactories_EndHook
54 GUSISetupFactories_EndHook 57 GUSISetupFactories_EndHook
55 #endif 58 #endif
56 } 59 }
57 60
117 120
118 /* Finally restore the old resource file */ 121 /* Finally restore the old resource file */
119 if ( prefrh != -1) CloseResFile(prefrh); 122 if ( prefrh != -1) CloseResFile(prefrh);
120 UseResFile(oldrh); 123 UseResFile(oldrh);
121 124
122 config->ConfigureDefaultTypeCreator('TEXT', 'ttxt'); 125 config->ConfigureDefaultTypeCreator('TEXT', 'R*ch');
126 #if 0
123 config->ConfigureSuffices( 127 config->ConfigureSuffices(
124 sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices); 128 sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices);
129 #endif
125 config->ConfigureAutoInitGraf(false); 130 config->ConfigureAutoInitGraf(false);
126 config->ConfigureAutoSpin(false); 131 config->ConfigureAutoSpin(false);
127 config->ConfigureHandleAppleEvents(false); 132 config->ConfigureHandleAppleEvents(false);
128 config->ConfigureSigInt(false); 133 config->ConfigureSigInt(false);
129 config->ConfigureSigPipe(true); 134 config->ConfigureSigPipe(true);