00001 /* 00002 $Id: SynthPatchList.h 520 2000-05-24 03:47:39Z leigh $ 00003 Defined In: The MusicKit 00004 00005 Description: 00006 This is a private class holding patch lists. 00007 There are one of these for each MKSynthInstrument template. 00008 At the moment this definition of the class is wierd to accomodate the behaviour 00009 of MKSynthInstrument. Eventually the public accessibility of the ivars should disappear 00010 and the Patch list functions in MKSynthPatch should somehow migrate over to here. 00011 00012 Original Author: Leigh M. Smith <leigh@tomandandy.com> 00013 00014 Copyright (c) 1999 tomandandy music inc. 00015 00016 Permission is granted to use and modify this code for commercial and non-commercial 00017 purposes so long as the author attribution and this copyright message remains intact 00018 and accompanies all derived code. 00019 */ 00020 /* 00021 Modification history: 00022 00023 $Log$ 00024 Revision 1.1 2000/05/24 03:47:39 leigh 00025 Removed use of Storage, replacing with SynthPatchList object 00026 00027 */ 00028 #import <Foundation/Foundation.h> 00029 00030 @interface SynthPatchList : NSObject 00031 { 00032 @public 00033 id idleNewest; 00034 id idleOldest; 00035 id activeNewest; 00036 id activeOldest; 00037 int idleCount,totalCount,manualCount; 00038 id template; 00039 } 00040 00041 - init; 00042 - (void) setTemplate: (id) newTemplate; 00043 - (void) setActiveNewest: (id) newActiveNewest; 00044 - (void) setActiveOldest: (id) newActiveOldest; 00045 00046 @end