home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / DevTools / RTFSyntax / Source / Controller.h < prev    next >
Encoding:
Text File  |  1994-01-05  |  1.2 KB  |  62 lines

  1. // Controller.h
  2.  
  3. #import <appkit/appkit.h>
  4. #import "SyntaxItem.h"
  5.  
  6. @interface Controller:Object
  7. {
  8.     // outlets
  9.     id infoWindow;
  10.     id configurationWindow;
  11.     id regularExpression;
  12.     id matchedSampleText;
  13.     id numberOfItems;
  14.     id itemNumber;
  15.     id preferenceWindow;
  16.     id defaultConfiguration;
  17.     id matchedColorWell;
  18.     id unmatchedColorWell;
  19.     id unmatchedSampleText;
  20.  
  21.     id infoPanel;
  22.     List *itemList;
  23.     BOOL fileOpened;
  24. }
  25.  
  26. - appDidInit:sender;
  27. - (int)app:sender openFile:(const char *)path type:(const char *)type;
  28. - (BOOL)appAcceptsAnotherFile:(Application *)sender;
  29. - init;
  30. - free;
  31.  
  32. - previousItem:sender;
  33. - nextItem:sender;
  34. - deleteItem:sender;
  35. - insertItem:sender;
  36. - (void)saveCurrentItem;
  37. - (void)displayItem:(int)i;
  38.  
  39. - (BOOL)openDefaultConfiguration;
  40. - openConfiguration:sender;
  41. - (void)openNamedConfiguration:(const char *)name;
  42. - newConfiguration:sender;
  43. - saveConfiguration:sender;
  44. - saveAsConfiguration:sender;
  45. - revertToSavedConfiguration:sender;
  46. - (BOOL)getConfigurationName;
  47. - setMatchedColor:sender;
  48. - setUnmatchedColor:sender;
  49.  
  50. - setDefaultConfigurationName:sender;
  51.  
  52. - showInfo:sender;
  53.  
  54. - suggestion:sender;
  55.  
  56. - colorSyntax:pasteboard 
  57.     userData:(const char *)userData 
  58.     error:(char **)message;
  59. - (void)colorRTF:(Text *)text;
  60.  
  61. @end
  62.