home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / Tutorial / Cookbook / 36.Rnd / Random.h < prev    next >
Encoding:
Text File  |  1993-01-19  |  702 b   |  37 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <objc/Object.h>
  5. #import <dpsclient/dpsclient.h>  // For DPSTimedEntry, used below
  6. #define MAX_COUNT 1000
  7.  
  8. @interface Random:Object
  9. {
  10.     id    numGenForm;
  11.     id    averageForm;
  12.     id    textMatrix;
  13.     id  scrollView;
  14.     id  scrollText;
  15.     int running;
  16.     int numGen;
  17.     int total;
  18.     float average;
  19.     int newNumber;
  20.     int numbers[101];            // holds the distribution count
  21.     char numberText[1000];
  22.     DPSTimedEntry clockTE;     // The clock timed entry
  23. }
  24.  
  25. - initialize;
  26. - setNumGenForm:anObject;
  27. - setAverageForm:anObject;
  28. - setTextMatrix:anObject;
  29. - setScrollView:anObject;
  30. - start:sender;
  31. - stop:sender;
  32. - reset:sender;
  33. - doTimedEntry;
  34. - free;
  35.  
  36. @end
  37.