|
|
1.1 root 1: #import <appkit/Application.h>
2: #import "GenericSort.h"
3: #import <objc/NXStringTable.h>
4:
5: @interface SortApp:Application
6: {
7: id algorithmMatrix; /* matrix of switches for sort algorithms */
8: id performRadios; /* radio button matrix for parallel--series */
9: id tickValueMatrix; /* matrix of text fields for tick values */
10: id tickMatrix; /* matrix of tick operations */
11: id dataSetMatrix; /* matrix of text fields for data parameters */
12: id messageField; /* text field used to display current status */
13: id goButton; /* button that starts/cancels sorting */
14: id tickField; /* text field to display current tick count */
15: id stringTable; /* NXStringTable for string resources */
16: DPSTimedEntry teNum; /* timed entry used to update tickField */
17: id infoPanel; /* the Info... panel */
18: id helpPanel; /* the help panel */
19: id sortController; /* controller which manages sorting activity */
20: port_t drawPort; /* main thread port,receives drawing message */
21: }
22:
23: /* FACTORY METHODS */
24: + initialize;
25: + new;
26:
27: /* TARGET-ACTION METHODS */
28: - info:sender;
29: - help:sender;
30: - go:sender;
31: - stop:sender;
32:
33: /* PUBLIC METHODS */
34: - setControlsEnabled:(BOOL)value;
35: - startTickCounter;
36: - stopTickCounter;
37: - allFinished;
38: - stringTable;
39: - draw:(simpleMsg *)msg;
40: - (port_t)drawPort;
41:
42: /* DELEGATE METHODS */
43: - appDidInit:sender;
44:
45: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.