This is MOTextDocController.h in view mode; [Download] [Up]
// MOTextDocController.h
//
// by Mike Ferris
// Part of MOKit
// Copyright 1993, all rights reserved.
// ABOUT MOKit
//
// MOKit is a collection of useful and general objects. Permission is
// granted by the author to use MOKit in your own programs in any way
// you see fit. All other rights to the kit are reserved by the author
// including the right to sell these objects as part of a LIBRARY or as
// SOURCE CODE. In plain English, I wish to retain rights to these
// objects as objects, but allow the use of the objects as pieces in a
// fully functional program. NO WARRANTY is expressed or implied. The author
// will under no circumstances be held responsible for ANY consequences to
// you from the use of these objects. Since you don't have to pay for
// them, and full source is provided, I think this is perfectly fair.
// ABOUT MOTextDocController
//
// This is an example of subclassing MODocController. It is a controller
// which supports reading and writing of text documents. Rich text and
// plain ascii is supported. Several file extensions are supported.
#import "MOKit/MODocController.h"
@interface MOTextDocController:MODocController
{
id textObj;
}
+ initialize;
- doSaveRtf:(MODocType *)type;
- doSaveTxt:(MODocType *)type;
- doRevertRtf:(MODocType *)type;
- doRevertTxt:(MODocType *)type;
- (BOOL)doClear;
- (BOOL)doPrint;
- textObj;
- textDidGetKeys:sender isEmpty:(BOOL)flag;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.