new initialisation function.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28806 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-10-12 14:38:49 +00:00
parent 3e76492092
commit d8a2ff7287
17 changed files with 60 additions and 25 deletions

View file

@ -237,19 +237,25 @@ enum {
*/
- (BOOL) setLogFile: (NSString*)path;
/**
* Fallback/override method. The developer must call this method to initialize
* the NSProcessInfo system if none of the system-specific hacks to
* auto-initialize it are working.<br />
* It is also safe to call this method to override the effects
* of the automatic initialisation, which some applications may need
* to do when using GNUstep libraries embedded within other frameworks.
/** Obsolete ... the GSInitializeProcess() function has the same effect and
* can be called more easily from other languages (particularly C).
*/
+ (void) initializeWithArguments: (char**)argv
count: (int)argc
environment: (char**)env;
@end
/**
* Fallback/override function.<br />
* The developer must call this method to initialize
* the NSProcessInfo system if none of the system-specific hacks to
* auto-initialize it are working.<br />
* It is also safe to call this function to override the effects
* of the automatic initialisation, which some applications may need
* to do when using GNUstep libraries embedded within other frameworks.
*/
GS_EXPORT void GSInitializeProcess(int argc, char **argv, char **envp);
/**
* Function for rapid testing to see if a debug level is set.<br />
* This is used by the debugging macros.<br />