home *** CD-ROM | disk | FTP | other *** search
- // Controller.h
- // By Jayson Adams
- // NeXT Strategic Developer Engineer
- //
- // You may freely copy, distribute and reuse the code in this example.
- // NeXT disclaims any warranty of any kind, expressed or implied, as to its
- // fitness for any particular use.
-
- #import <objc/Object.h>
-
- @interface Controller:Object
- {
- id scrollView, textObj, infoPanel;
- BOOL acceptedIcon;
- }
-
- /* instance methods */
- - appDidInit:sender;
- - registerWindow;
- - (int)iconEntered:(int)windowNum at:(double)x :(double)y
- iconWindow:(int)iconWindowNum iconX:(double)iconX iconY:(double)iconY
- iconWidth:(double)iconWidth iconHeight:(double)iconHeight
- pathList:(char *)pathList;
- - (int)iconExitedAt:(double)x :(double)y;
- - (int)iconReleasedAt:(double)x :(double)y ok:(int *)flag;
- - lipService:sender;
- - open:sender;
- - save:sender;
- - windowWillResize:sender toSize:(NXSize *)frameSize;
- - info:sender;
-
- /* outlet initialization */
- - setScrollView:anObject;
-
- @end
-