Annotation of Examples/EnterpriseObjects/SHLExamples/DataSource/Motorcycle.h, revision 1.1.1.1

1.1       root        1: /*--------------------------------------------------------------------------
                      2:  *
                      3:  *     You may freely copy, distribute, and reuse the code in this example.
                      4:  *     SHL Systemhouse disclaims any warranty of any kind, expressed or  
                      5:  *     implied, as to its fitness for any particular use.
                      6:  *
                      7:  *
                      8:  *     Motorcycle
                      9:  *
                     10:  *     Inherits From:          NSObject
                     11:  *
                     12:  *     Conforms To:            None
                     13:  *
                     14:  *     Declared In:            Motorcycle.h
                     15:  *
                     16:  *     Class Description
                     17:  *
                     18:  *             A simple class describing a motorcycle object.
                     19:  *
                     20:  *
                     21:  *------------------------------------------------------------------------*/
                     22: #import <foundation/NSObject.h>
                     23: 
                     24: 
                     25: 
                     26: 
                     27: @interface Motorcycle : NSObject
                     28: {
                     29:        id      make;
                     30:        id      model;
                     31:        id      price;
                     32:        id      picture;
                     33: }
                     34: 
                     35: /*--------------------------------------------------------------------------
                     36:  *     Accessors
                     37:  *------------------------------------------------------------------------*/
                     38: - make;
                     39: - model;
                     40: - price;
                     41: - picture;
                     42: 
                     43: - (void) setMake: aString;
                     44: - (void) setModel: aString;
                     45: - (void) setPrice: aString;
                     46: - (void) setPicture: aString;
                     47: 
                     48: 
                     49: @end

unix.superglobalmegacorp.com

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