|
|
Sample Programs from NeXSTEP 3.3
#import <appkit/appkit.h>
#import <remote/transport.h>
#import <machkit/reference.h>
@protocol SpotMethods
- (NXColor) color;
- (NXPoint) location;
- (BOOL) setLocation:(NXPoint)pnt;
- (BOOL) doLock;
- unlock;
- invalidate;
- (BOOL) isValid;
@end
@interface Spot:Object <SpotMethods, NXTransport, NXReference>
{
NXColor color;
NXPoint location;
BOOL locked;
unsigned refs;
BOOL isValid;
}
float frandom();
float randBetween(float a, float b);
- init;
- encodeRemotelyFor:(NXConnection *)connection
freeAfterEncoding:(BOOL *)flagp
isBycopy:(BOOL)isBycopy;
- encodeUsing:(id <NXEncoding>)portal;
- decodeUsing:(id <NXDecoding>)portal;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.