home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / AppKit / Draw / undo.subproj / MultipleChange.h < prev    next >
Text File  |  1995-08-03  |  447b  |  18 lines

  1. @interface MultipleChange : Change
  2. {
  3.     Change *lastChange;        /* the last incorporated change */
  4.     NSMutableArray *changes;        /* the list of incorporated changes */
  5.     NSString *name;        /* the change name to put in the undo menu */
  6. }
  7.  
  8. - (id)init;
  9. - initChangeName:(NSString *)changeName;
  10. - (NSString *)changeName;
  11. - (void)undoChange;
  12. - (void)redoChange;
  13. - (BOOL)subsumeChange:change;
  14. - (BOOL)incorporateChange:change;
  15. - (void)finishChange;
  16.  
  17. @end
  18.