This is eTLinkWell.h in view mode; [Download] [Up]
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\ftech Symbol;\f2\fmodern Ohlfs;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//
\i
\b FILENAME
\b0 :
\b\i0 eTLinkWell.h \
\b0 //
\i
\b SUMMARY
\b0 :
\b\i0 Defines a well for drag-and-drop of .etfLink files.
\b0 \
//
\b\i SUPERCLASS
\b0 :
\i0
\b Object:Resonder:View:Control:Button:eTLinkWell
\b0 \
//
\b\i PROTOCOLS
\b0 :
\i0
\b None
\b0 \
//
\b\i INTERFACE
\b0 :
\i0
\b None. Instantiate as a customView in IB.
\b0 \
//
\b\i AUTHOR
\b0 :
\b\i0 Rohit Khare
\b0 \
//
\b\i COPYRIGHT
\b0 :
\f1\i0 Ó
\f0\b 1993,94 California Institure of Technology, eText Project\
\b0 //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//
\b\i Description
\b0\i0 \
// This is an extension to button that provides a "standard" linkWell\
// widget for use in eText. It understands the
\b .etfLink
\b0
\b format
\b0 and exports\
// the
\b etfLink
\b0
\b structure
\b0 .\
// Use it by sending an instance an
\i initLinkWell
\i0 message (or
\i initOmniWell
\i0 \
// to intercept ASCII drag pboards).\
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//
\b\i HISTORY
\b0\i0 \
// 10/04/94:
\b Revamped for eText5
\b0 \
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//
\b Imported Interfaces
\b0 \
//\
#import "
\b eTextKernel.h
\b0 "\
\
#define
\b EMPTY
\b0 "
\b .linkWell
\b0 "\
#define
\b FULL
\b0 "
\b .linkWell.full
\b0 "\
#define
\b LIT
\b0 "
\b .linkWell.lit
\b0 "\
\
typedef
\b struct
\b0 _etfLink \{\
NXAtom
\b docID
\b0 ;\
NXAtom
\b docTitle
\b0 ;\
NXAtom
\b anchorID
\b0 ;\
NXAtom
\b anchorTitle
\b0 ;\
\}
\b etfLink
\b0 ;\
\
\i @interface eTLinkWell:Button // <<DraggingSource, DraggingDestination>>\
\i0 \{\
\b etfLink
\b0
\b currentLink
\b0 ;\
char
\b path
\b0 [MAXPATHLEN];\
BOOL
\b omniMode
\b0 ;\
id
\b omniText
\b0 ;\
\}\
-
\b initOmniWell
\b0 ;\
-
\b initLinkWell
\b0 ;\
-
\b setLink
\b0 :(etfLink *)
\b theLink
\b0 ;\
- (etfLink *)
\b currentLink
\b0 ;\
@end\
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.