141
141
* <item>GSCygwinOperatingSystem - cygwin unix-like environment</item>
144
- (unsigned int) operatingSystem;
144
- (NSUInteger) operatingSystem;
147
147
* Return a human readable string representing the operating system type.<br />
208
208
@interface NSProcessInfo (GNUstep)
211
* Returns a indication of whether debug logging is enabled.
212
* This returns YES unless a call to -setDebugLoggingEnabled: has
213
* been used to turn logging off.
215
- (BOOL) debugLoggingEnabled;
218
* This method returns a set of debug levels set using the
219
* --GNU-Debug=... command line option and/or the GNU-Debug
220
* user default.<br />
221
* You can modify this set to change the debug logging under
222
* your programs control ... but such modifications are not
225
- (NSMutableSet*) debugSet;
228
* This method permits you to turn all debug logging on or off
229
* without modifying the set of debug levels in use.
231
- (void) setDebugLoggingEnabled: (BOOL)flag;
234
211
* Set the file to which NSLog output should be directed.<br />
235
212
* Returns YES on success, NO on failure.<br />
236
213
* By default logging goes to standard error.
238
215
- (BOOL) setLogFile: (NSString*)path;
217
/** Obsolete ... the GSInitializeProcess() function has the same effect and
218
* can be called more easily from other languages (particularly C).
220
+ (void) initializeWithArguments: (char**)argv
222
environment: (char**)env;
241
* Fallback/override method. The developer must call this method to initialize
226
* Fallback/override function.<br />
227
* The developer must call this method to initialize
242
228
* the NSProcessInfo system if none of the system-specific hacks to
243
229
* auto-initialize it are working.<br />
244
* It is also safe to call this method to override the effects
230
* It is also safe to call this function to override the effects
245
231
* of the automatic initialisation, which some applications may need
246
232
* to do when using GNUstep libraries embedded within other frameworks.
248
+ (void) initializeWithArguments: (char**)argv
250
environment: (char**)env;
234
GS_EXPORT void GSInitializeProcess(int argc, char **argv, char **envp);
254
237
* Function for rapid testing to see if a debug level is set.<br />