File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / SHLExamples / DataSource / Motorcycle.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:51 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.
 *
 *
 *	Motorcycle
 *
 *	Inherits From:		NSObject
 *
 *	Conforms To:		None
 *
 *	Declared In:		Motorcycle.h
 *
 *	Class Description
 *
 *		A simple class describing a motorcycle object.
 *
 *
 *------------------------------------------------------------------------*/
#import <foundation/NSObject.h>




@interface Motorcycle : NSObject
{
	id	make;
	id	model;
	id	price;
	id	picture;
}

/*--------------------------------------------------------------------------
 *	Accessors
 *------------------------------------------------------------------------*/
- make;
- model;
- price;
- picture;

- (void) setMake: aString;
- (void) setModel: aString;
- (void) setPrice: aString;
- (void) setPicture: aString;


@end

unix.superglobalmegacorp.com

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