mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
Include <Foundation/NSString.h> instead of <gnustep/base/String.h>.
(main): Use class NSString instead of String. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2039 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5c21978c3c
commit
ceee21c6a3
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <gnustep/base/Proxy.h>
|
||||
#include <gnustep/base/Coder.h>
|
||||
#include <gnustep/base/BinaryCStream.h>
|
||||
#include <gnustep/base/String.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <gnustep/base/RunLoop.h>
|
||||
#include <Foundation/NSDate.h>
|
||||
#include <assert.h>
|
||||
|
@ -42,11 +42,11 @@ int main(int argc, char *argv[])
|
|||
if (argc > 1)
|
||||
{
|
||||
if (argc > 2)
|
||||
p = [Connection rootProxyAtName: [String stringWithCString: argv[2]]
|
||||
onHost: [String stringWithCString:argv[1]]];
|
||||
p = [Connection rootProxyAtName: [NSString stringWithCString: argv[2]]
|
||||
onHost: [NSString stringWithCString:argv[1]]];
|
||||
else
|
||||
p = [Connection rootProxyAtName:@"test2server"
|
||||
onHost:[String stringWithCString:argv[1]]];
|
||||
onHost:[NSString stringWithCString:argv[1]]];
|
||||
}
|
||||
else
|
||||
p = [Connection rootProxyAtName:@"test2server"
|
||||
|
|
Loading…
Reference in a new issue