home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / Database / OTC_EOFBetaExamples_V1.0 / EOFramework / DataSource / Motorcycle.h < prev    next >
Encoding:
Text File  |  1994-05-24  |  992 b   |  50 lines

  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
  50.