ftp.nice.ch/pub/next/developer/resources/libraries/threadkit/ThreadKitDemo.NI.tar.gz#/ThreadKit-1.0-DEMO/Examples/SortingInAction/SortApp.h

This is SortApp.h in view mode; [Download] [Up]

#import <threadkit/threadkit.h>
#import "GenericSort.h"
#import <objc/NXStringTable.h>

@interface SortApp:TKApplication
{
    id algorithmMatrix;		/* matrix of switches for sort algorithms */
    id performRadios;		/* radio button matrix for parallel--series */
    id tickValueMatrix;		/* matrix of text fields for tick values */
    id tickMatrix;		/* matrix of tick operations */
    id dataSetMatrix;		/* matrix of text fields for data parameters */
    id messageField;		/* text field used to display current status */
    id goButton;		/* button that starts/cancels sorting */
    id tickField;		/* text field to display current tick count */
    id stringTable;		/* NXStringTable for string resources */
    DPSTimedEntry teNum;	/* timed entry used to update tickField */
    id infoPanel;		/* the Info... panel */
    id helpPanel;		/* the help panel */
    id sortController;		/* controller which manages sorting activity */
}

/* FACTORY METHODS */
+ initialize;
+ new;

/* TARGET-ACTION METHODS */
- info:sender;
- help:sender;
- go:sender;
- stop:sender;

/* PUBLIC METHODS */
- setControlsEnabled:(BOOL)value;
- startTickCounter;
- stopTickCounter;
- allFinished;
- stringTable;

/* HACK METHODS */
- notifyDone: (int) sortNum ;
- notifySorting ;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.