|
|
1.1 root 1: /*--------------------------------------------------------------------------
2: *
3: * You may freely copy, distribute, and reuse the code in this example.
4: * SHL Systemhouse disclaims any warranty of any kind, expressed or
5: * implied, as to its fitness for any particular use.
6: *
7: *
8: * IconWell
9: *
10: * Inherits From: View
11: *
12: * Conforms To: None
13: *
14: * Declared In: IconWell.h
15: *
16: * Class Description
17: *
18: *
19: *------------------------------------------------------------------------*/
20: #import <appkit/View.h>
21:
22:
23:
24:
25: @interface IconWell : View
26: {
27: char* path;
28: id icon;
29: id delegate;
30: }
31:
32: - icon;
33: - setIcon:anIcon;
34:
35: - (const char*) path;
36: - setPath: (const char*) aPath;
37:
38:
39: @end
40:
41:
42:
43:
44:
45: @interface Object (IconWellDelegate)
46:
47: - (BOOL) dragSource:aDragSource willDropOnIconWell:sender;
48: - dragSource:aDragSource didDropOnIconWell:sender;
49:
50: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.