00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "AMControllable.h"
00011 #import <Foundation/Foundation.h>
00012
00013
00014
00015 static const NSString *const AM_TEMPO_CONTROL = @"TempoControl";
00016 static const NSString *const AM_TRIGGER_CONTROL = @"TriggerControl";
00017 static const NSString *const AM_SPAWN_CONTROL = @"SpawnControl";
00018 static const NSString *const AM_MIX_2D_CONTROL = @"Mix2DControl";
00019 static const NSString *const AM_MIX_3D_CONTROL = @"Mix3DControl";
00020 static const NSString *const AM_SOUND_CONTROL = @"SoundControl";
00021
00026 @interface AMControl : NSObject {
00027
00028 id parent;
00029 }
00030
00034 @property (nonatomic, assign) id parent;
00035
00043 + (AMControl *)controlWithName:(NSString *)_name controllable:(id)_controllable;
00044
00051 - (void)setValue:(id)_value forAttribute:(int)_attribute;
00052
00059 - (id)valueOfAttribute:(int)_attribute;
00060
00067 - (int)attributeCode:(NSString *)_attribute;
00068
00069 @end