home *** CD-ROM | disk | FTP | other *** search
-
- #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
-