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

/* Controller.h:
 * You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
 * fitness for any particular use.
 *
 * Written by Mai Nguyen, NeXT Developer Support
 *
 */

#import <objc/Object.h>


@interface Controller:Object
{
	id	theWindow;			/* The main application window */
    id	dbModule;			/* DBModule instance representing the Authors
			          	   	   table */
   	id  dbDatabase;			/* the pubs database */	
	id	dbRecordList;
	id	dbTableView;
	id	dbQualifier;
	id	dbFetchGroup;
	id	sortProp;			/* Property used for sorting	*/
  	id 	aValue;				/* a DBValue instance to look at record contents */	
	int recordOrder;		/* Record retrieval order */
	id 	formMatrix;			/* Author data form matrix */
	id	qualifierField;		/* Text field to build the query before a SELECT */	
}

- select:sender;
- insert:sender;
- checkInputRecord:sender;
- display;
- clearData;
- fillNewRecordAt:(int)index;
- changeRetrieveOrder:sender;
- buildSelectQualifier:sender; 

/* Controller Object Delegate methods */
- fetchGroup:fetchGroup didInsertRecordAt:(int)index;
- fetchGroupDidSave:fetchGroup;
- fetchGroupWillFetch:fetchGroup;


@end


unix.superglobalmegacorp.com

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