This is RTFExampleClass.h in view mode; [Download] [Up]
{\rtf0\ansi{\fonttbl\f3\fmodern Ohlfs;\f4\fmodern Courier;\f2\fswiss Helvetica;}
\margl40
\margr40
{\colortbl;\red17\green81\blue31;\red0\green0\blue0;\red85\green85\blue85;\red0\green0\blue136;\red255\green0\blue3;}
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f3\b0\i0\ulnone\fs20\gray221\fc1\cf1 /* RTFExampleClass.h \
*\
* This class servers as an example for how to layout Rich Sources\
* so that they are still parsable with the ClassEditor.\
*\
* Usage: ....NONE\
\gray0\fc2\cf2 *\
* Written by: Thomas Engel\
* Created: 20.01.1995 (Copyleft)\
* Last modified: 20.01.1995\
*/\
\
\f4\b\fs24 #import
\f3\b0\fs20 <appkit/appkit.h>\
\
\f4\b\fs24 @interface
\f3\b0\fs20 RTFExampleClass:Object\
\{\
\f4\b\fs24 id
\f3\b0\fs20 name;
\f2\fs24\gray333\fc3\cf3 // Used to store the full method name.\
\f3\fs20\gray0\fc2\cf2
\f4\b\fs24 id
\f3\b0\fs20 selectorName;\
\}\
\
\f4\fs24 // Be careful that the whole method definition is \
// in a
\b single
\b0 font and only
\b one
\b0 color.\
\
\gray57\fc4\cf4 + initialize;\
\gray0\fc2\cf2 \
- init;\
- initFromText:theLine;\
- free;\
- noSourceFor:thisMethod;\
\
- (char *)name;\
- (char *)selectorName;\
\
- (BOOL)isInstanceMethod;\
- (void *)doNothing:(int)right butWithSpeed:forTesting;\
\f3\fs20 \
\f4\b\fs24 @end\
\f3\b0\fs20 \
/*\
* History: 13.01.95 Buh\
* \
*\
*
\f2\fs24\gray300\fc5\cf5 BUG: - ...well actually this is the only difference to a default ASCII colorization !
\f3\fs20\gray0\fc2\cf2 \
*/
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.