File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / SHLExamples / Delegation / AppController.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:49 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/*--------------------------------------------------------------------------
 *
 * 	You may freely copy, distribute, and reuse the code in this example.
 * 	SHL Systemhouse disclaims any warranty of any kind, expressed or  
 *	implied, as to its fitness for any particular use.
 *
 *
 *	AppController
 *
 *	Inherits From:		NSObject
 *
 *	Conforms To:		None
 *
 *	Declared In:		AppController.h
 *
 *	Class Description
 *
 *		Application controller for EO delegates example.
 *
 *
 *------------------------------------------------------------------------*/
#import <foundation/NSObject.h>



@interface AppController : NSObject
{
	id		console;
	id		consoleButton;
	id		eoController;
	id		eofDelegate;
	
	BOOL	trace;
	BOOL	verbose;
	BOOL	alert;
}

/*--------------------------------------------------------------------------
 *	Tracing
 *------------------------------------------------------------------------*/
- (BOOL) isTracing;
- (BOOL) isVerbose;
- (BOOL) wantsAlertPanels;

- setTracingOFF: sender;
- setIsVerbose: sender;
- setWantsAlertPanels: sender;
- console:sender;


/*--------------------------------------------------------------------------
 *	Announcing Trace Info
 *------------------------------------------------------------------------*/
- (void) announce:sender selector:(SEL)selector;
- (void) announce:sender selector:(SEL)selector with:array;


/*--------------------------------------------------------------------------
 *	Modifying EOController Characteristics
 *------------------------------------------------------------------------*/
- setEnableUndo: sender;
- setAutomaticUndoMarks: sender;
- setBufferEdits: sender;
- setBufferOperations: sender;
- setMaximumUndoEntries: sender;


/*--------------------------------------------------------------------------
 *	Setting Delegates
 *------------------------------------------------------------------------*/
- setDelegates: sender;


@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.