home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / eTLink.subproj / eTLink.h next >
Encoding:
Text File  |  1994-10-31  |  1.4 KB  |  40 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //    FILENAME:    eTLink.h 
  3. //    SUMMARY:    Interface for link buttons in eText documents
  4. //    SUPERCLASS:    Object
  5. //    INTERFACE:    None
  6. //    PROTOCOLS:    <Annotation,HTMDSupport,ASCIISupport,LaTeXSupport,Tool,
  7. //                InspectableTarget>
  8. //    AUTHOR:        Rohit Khare
  9. //    COPYRIGHT:    (c) 1994 California Institure of Technology, eText Project
  10. ///////////////////////////////////////////////////////////////////////////////
  11. //    DESCRIPTION
  12. //        Does its job by holding doc/anchorIDs and yelling at NXApp.
  13. ///////////////////////////////////////////////////////////////////////////////
  14. //    HISTORY
  15. //    10/30/94:    Modified to support <InspectableTarget>
  16. //    07/21/94:    Revamped for PR1 and eTImage[Component] support
  17. //    07/09/94:    URLRep added by RK and TRZ
  18. //    07/04/94:    Added image support
  19. //  06/17/94:    HTMDSupport added. RK and TRZ
  20. //    02/04/94:    Created. First actual implementation.
  21. ///////////////////////////////////////////////////////////////////////////////
  22.  
  23. #import "eTextKernel.h"
  24. #import "Bookmark.subproj/Bookmark.h"
  25. #import "eTImage.subproj/eTImage.h"
  26. #import "eTImage.subproj/eTImageUI.h"
  27. #import "eTLinkUI.h"
  28.  
  29. @interface eTLink:eTImage <Annotation, Tool, ASCIISupport, HTMDSupport, LaTeXSupport>
  30. {    long    anchorID;
  31.     long    docID;
  32.     etfLink    theLink;
  33. }
  34.  
  35. - initFromFile: (const char *) theFile;
  36. - (NXAtom)anchorTitle;
  37. - (NXAtom)anchorID;
  38. - (NXAtom)docTitle;
  39. - (NXAtom)docID;
  40. @end