ftp.nice.ch/pub/next/text/etext/eText5-0.93.Source.NIHS.tar.gz#/eText5/eText.subproj/eText.Pasteboard.h

This is eText.Pasteboard.h in view mode; [Download] [Up]

{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\ftech Symbol;\f3\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 eText.Pasteboard.h \

\b0 //
\i 	
\b SUMMARY
\b0 :	
\b\i0 Interface for interactions between eText and Pasteboards
\b0 \
//	
\b\i CATEGORY
\b0 :
\i0 	
\b Pasteboard
\b0 \
//	
\b\i PROTOCOLS
\b0 :
\i0 	
\b None
\b0 \
//	
\b\i INTERFACE
\b0 :
\i0 	
\b None
\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 \
//		These methods deal with mapping eText selections to Pasteboards.\
//	This includes services and drag-and-drop. It also means cooperating w/Undo.\
//	Our pasteboards have:\
//		\{Annotation-supplied types\}\
//		ASCII\
//		RTF\
//		[ETF]\
//		[Filename]\
//	This means overriding a hell of a lot of code 
\b and no lazy provisions
\b0 .\
//	That's a big performance hit, since we can't postpone generating expensive\
//	formats, or less-complete ones. How does Edit handle this?  \
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b\i History
\b0\i0 \
//	10/17/94:	
\b Cleaned up for eText5.
\b0 \
//	08/05/94:	
\b Completely Rearchitected for 5.0. RK
\b0 \
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b Imported Interfaces
\b0 \
//\
	#import "
\b eText.Class.h
\b0 "\
\

\i @interface eText(Pasteboard)\

\i0 //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b Centralized Selection Management
\b0 \
//\
	- 
\b readSelectionFromPasteboard
\b0 :pboard;       // 
\i linked = NO
\i0 \
	- 
\b readSelectionFromPasteboard
\b0 :pboard 
\b linked
\b0 :(
\b BOOL
\b0 )isLinked;\
	- 
\b writeSelectionToPasteboard
\b0 :pboard;\
	- (
\b BOOL
\b0 )
\b writeSelectionToPasteboard
\b0 :pboard 
\b types
\b0 :(NXAtom *)types;\
\
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b Dropping
\b0 \
//\
	- (
\b NXDragOperation
\b0 )
\b draggingEntered
\b0 :(id <NXDraggingInfo>)sender;\
	- (
\b NXDragOperation
\b0 )
\b draggingUpdated
\b0 :(id <NXDraggingInfo>)sender;\
	- (
\b BOOL
\b0 )
\b prepareForDragOperation
\b0 :(id <NXDraggingInfo>)sender;\
	- (
\b BOOL
\b0 )
\b performDragOperation
\b0 :(id <NXDraggingInfo>)sender;\
	- 
\b concludeDragOperation
\b0 :(id <NXDraggingInfo>)sender;\
\
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b Changing Fonts
\b0 \
//\
	- 
\b acceptFont
\b0 :(Font *)fontA 
\b atPoint
\b0 :(NXPoint *)p;\
	- 
\b replaceFont
\b0 :(Font *)oldFontA 
\b with
\b0 :(Font *)newFontA;\
\
//ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b Edit Menu
\b0 \
//\
	- 
\b copy
\b0 :sender;\
	- 
\b paste
\b0 :sender;\
	- 
\b clear
\b0 :sender;\
	- 
\b delete
\b0 :sender;
\i \
\

\i0 //ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ\
//	
\b Services Menu
\b0 \
//\
	- 
\b validRequestorForSendType
\b0 :(NXAtom)typeSent\
				   
\b andReturnType
\b0 :(NXAtom)typeReturned;\
\

\i @end
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.