home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / Database / OTC_EOFBetaExamples_V1.0 / EOFramework / DataSource / AppController.h next >
Encoding:
Text File  |  1994-07-30  |  1.2 KB  |  52 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.  *    AppController
  9.  *
  10.  *    Inherits From:        NSObject
  11.  *
  12.  *    Conforms To:        None
  13.  *
  14.  *    Declared In:        AppController.h
  15.  *
  16.  *    Class Description
  17.  *
  18.  *        Application controller for EO data source example.
  19.  *
  20.  *
  21.  *------------------------------------------------------------------------*/
  22. #import <foundation/NSObject.h>
  23.  
  24.  
  25.  
  26. @interface AppController : NSObject
  27. {
  28.     id    console;
  29.     id    eoController;
  30.     id    dataSource;
  31.     int    sequence;
  32. }
  33.  
  34. /*--------------------------------------------------------------------------
  35.  *    Cover Methods for EOController Actions
  36.  *------------------------------------------------------------------------*/
  37. - fetch: sender;
  38. - insert: sender;
  39. - delete: sender;
  40. - saveToObjects: sender;
  41. - saveToDataSource: sender;
  42. - undo: sender;
  43.  
  44.  
  45. /*--------------------------------------------------------------------------
  46.  *    Printing Trace Information
  47.  *------------------------------------------------------------------------*/
  48. - console: (NSString *) aString;
  49.  
  50.  
  51. @end
  52.