home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / AppKit / TextEdit / Controller.h next >
Text File  |  1995-11-03  |  626b  |  23 lines

  1. #import <Foundation/Foundation.h>
  2.  
  3. @interface Controller : NSObject {
  4.     id infoPanel;
  5. }
  6.  
  7. /* NSApplication delegate methods */
  8. - (BOOL)application:(NSApplication *)app openFile:(NSString *)filename;
  9. - (BOOL)application:(NSApplication *)app openTempFile:(NSString *)filename;
  10. - (BOOL)applicationOpenUntitledFile:(NSApplication *)app;
  11. - (BOOL)applicationShouldTerminate:(NSApplication *)app;
  12.  
  13. /* Action methods */
  14. - (void)createNew:(id)sender;
  15. - (void)open:(id)sender;
  16. - (void)saveAll:(id)sender;
  17. - (void)showInfoPanel:(id)sender;
  18.  
  19. /* Outlet methods */
  20. - (void)setVersionField:(id)anObject;    /* Fake; there's no outlet */
  21.  
  22. @end
  23.