|
|
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: * 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 delegates example. ! 19: * ! 20: * ! 21: *------------------------------------------------------------------------*/ ! 22: #import <foundation/NSObject.h> ! 23: ! 24: ! 25: ! 26: @interface AppController : NSObject ! 27: { ! 28: id console; ! 29: id consoleButton; ! 30: id eoController; ! 31: id eofDelegate; ! 32: ! 33: BOOL trace; ! 34: BOOL verbose; ! 35: BOOL alert; ! 36: } ! 37: ! 38: /*-------------------------------------------------------------------------- ! 39: * Tracing ! 40: *------------------------------------------------------------------------*/ ! 41: - (BOOL) isTracing; ! 42: - (BOOL) isVerbose; ! 43: - (BOOL) wantsAlertPanels; ! 44: ! 45: - setTracingOFF: sender; ! 46: - setIsVerbose: sender; ! 47: - setWantsAlertPanels: sender; ! 48: - console:sender; ! 49: ! 50: ! 51: /*-------------------------------------------------------------------------- ! 52: * Announcing Trace Info ! 53: *------------------------------------------------------------------------*/ ! 54: - (void) announce:sender selector:(SEL)selector; ! 55: - (void) announce:sender selector:(SEL)selector with:array; ! 56: ! 57: ! 58: /*-------------------------------------------------------------------------- ! 59: * Modifying EOController Characteristics ! 60: *------------------------------------------------------------------------*/ ! 61: - setEnableUndo: sender; ! 62: - setAutomaticUndoMarks: sender; ! 63: - setBufferEdits: sender; ! 64: - setBufferOperations: sender; ! 65: - setMaximumUndoEntries: sender; ! 66: ! 67: ! 68: /*-------------------------------------------------------------------------- ! 69: * Setting Delegates ! 70: *------------------------------------------------------------------------*/ ! 71: - setDelegates: sender; ! 72: ! 73: ! 74: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.