This is MOImageDocController.h in view mode; [Download] [Up]
// MOImageDocController.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 MOImageDocController
//
// This is an example of a subclass of MODocController. It is for image
// documents. It supports reading "tiff" and "eps". It can write only "tiff".
#import "MOKit/MODocController.h"
@interface MOImageDocController:MODocController
{
id imageView;
}
+ initialize;
- doSaveTiff:(MODocType *)type;
- doRevertImage:(MODocType *)type;
- (BOOL)doClear;
- (BOOL)doPrint;
- imageView;
- setImage:(NXImage *)image;
- image;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.