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:
mccallum 1996-03-07 00:39:28 +00:00
parent be0cd0d58a
commit a0d636cfe4

View file

@ -2,8 +2,6 @@
#define _server_h #define _server_h
#include <objects/stdobjects.h> #include <objects/stdobjects.h>
#include <objects/InvalidationListening.h>
#include <objc/List.h>
#include <objects/Connection.h> #include <objects/Connection.h>
#include <objects/Array.h> #include <objects/Array.h>
@ -22,7 +20,7 @@ struct myarray {
}; };
@protocol ServerProtocol @protocol ServerProtocol
- addObject: o; - (void) addObject: o;
- objectAt: (unsigned)i; - objectAt: (unsigned)i;
- (unsigned) count; - (unsigned) count;
- print: (const char *)msg; - print: (const char *)msg;
@ -57,9 +55,9 @@ struct myarray {
@end @end
#endif #endif
@interface Server : NSObject <ServerProtocol,InvalidationListening> @interface Server : NSObject <ServerProtocol>
{ {
id theList; id the_array;
} }
@end @end