|
|
1.1 root 1:
2: #import <appkit/appkit.h>
3: #import <remote/transport.h>
4: #import <machkit/reference.h>
5:
6: @protocol SpotMethods
7: - (NXColor) color;
8: - (NXPoint) location;
9: - (BOOL) setLocation:(NXPoint)pnt;
10: - (BOOL) doLock;
11: - unlock;
12: - invalidate;
13: - (BOOL) isValid;
14: @end
15:
16: @interface Spot:Object <SpotMethods, NXTransport, NXReference>
17: {
18: NXColor color;
19: NXPoint location;
20: BOOL locked;
21: unsigned refs;
22: BOOL isValid;
23: }
24:
25: float frandom();
26: float randBetween(float a, float b);
27:
28: - init;
29:
30: - encodeRemotelyFor:(NXConnection *)connection
31: freeAfterEncoding:(BOOL *)flagp
32: isBycopy:(BOOL)isBycopy;
33: - encodeUsing:(id <NXEncoding>)portal;
34: - decodeUsing:(id <NXDecoding>)portal;
35:
36: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.