This is Notepad.h in view mode; [Download] [Up]
//
// Notepad.h
// Copyright (c) 1990 by Jiro Nakamura
// All rights reserved
//
// Handles a notepad, opens it, lets the user modify it,
// and if anything changes, lets him or her save it before
// closing it.
//
// RCS Information
// Revision Number-> $Revision: 2.4 $
// Last Revised-> $Date: 90/10/27 17:53:18 $
//
#import "TextWindow.h"
@interface Notepad:TextWindow
{
int pageNumber; // Our pleasant page number
id global; // Set by IB
id filenameTextField;
id pageNumberForm;
}
+ new; // Create ourself and set default values
- initMoreStuff; // used to set our-own default values
- open:sender; // Open notepad
- close; // Close (and save) notepad
- pageBackward: sender; // Go backwards one page
- pageForward: sender; // Go forward one page
- pageFormModified: sender; // Read particular page
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.