mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Update for new server interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1085 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
64d8da5a82
commit
1b6a1efebb
1 changed files with 3 additions and 5 deletions
|
@ -2,8 +2,6 @@
|
|||
#define _server_h
|
||||
|
||||
#include <objects/stdobjects.h>
|
||||
#include <objects/InvalidationListening.h>
|
||||
#include <objc/List.h>
|
||||
#include <objects/Connection.h>
|
||||
#include <objects/Array.h>
|
||||
|
||||
|
@ -22,7 +20,7 @@ struct myarray {
|
|||
};
|
||||
|
||||
@protocol ServerProtocol
|
||||
- addObject: o;
|
||||
- (void) addObject: o;
|
||||
- objectAt: (unsigned)i;
|
||||
- (unsigned) count;
|
||||
- print: (const char *)msg;
|
||||
|
@ -57,9 +55,9 @@ struct myarray {
|
|||
@end
|
||||
#endif
|
||||
|
||||
@interface Server : NSObject <ServerProtocol,InvalidationListening>
|
||||
@interface Server : NSObject <ServerProtocol>
|
||||
{
|
||||
id theList;
|
||||
id the_array;
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue