home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / EmacsTeX / Emacs-3.0.1 / Source / EmacsApp.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  946 b   |  40 lines

  1. /* The Application interface for Emacs.
  2.  
  3.    For legal stuff see the file COPYRIGHT.  */
  4.  
  5. #import <appkit/appkit.h>
  6. #import <appkit/Application.h>
  7. #import "EtermView.h"
  8.  
  9. @interface EmacsApp : Application
  10. {
  11.   /* Current view.  */
  12.   id currentView;
  13.   /* The applications fontManager.  */
  14.   id fontManager;
  15.   /* The listener for Edit-style messages. */
  16.   id editListener;
  17. }
  18.  
  19. -appWillInit: sender;
  20. -appDidInit: sender;
  21. -appDidUnhide: sender;
  22. -terminate: sender;
  23. -(BOOL) appAcceptsAnotherFile: sender;
  24. -(BOOL) app: sender openFile: (const char *) path type: (const char *) type;
  25. -currentView;
  26. -fontManager;
  27. -showFontPanel: sender;
  28. -(BOOL) fontManager: sender willIncludeFont: (const char *) fontName;
  29.  
  30. /* Functions for accepting remote messages. */
  31. -(int)openFile : (char *) fileName
  32.     onHost : (char *) hostName
  33.     atTrueLine : (int) line;
  34. -(int)openFile : (char *) fileName
  35.     onHost : (char *) hostName
  36.     fromTrueLine : (int) line
  37.     to : (int) line;
  38.  
  39. @end
  40.