00001 // ** LICENSE BLOCK ** 00002 // 00003 // AMSpawnControl.h 00004 // aria 00005 // 00006 // Created by Yohan Lasorsa on 12/08/09. 00007 // Copyright 2009 INRIA, Team WAM. All rights reserved. 00008 // 00009 00010 #import "AMControl.h" 00011 #import <Foundation/Foundation.h> 00012 00013 00014 /* Constants of attributes names */ 00015 static const NSString *const AM_SPAWN_CONTROL_ATTRIBUTE_MAX_INSTANCES = @"maxInstances"; 00016 00018 enum AMSpawnControlAttributes { 00019 AM_SPA_MAX_INSTANCES = 0 00020 }; 00021 00022 00026 @interface AMSpawnControl : AMControl { 00027 // Controls attributes 00028 int maxInstances; 00029 } 00030 00035 @property (nonatomic) int maxInstances; 00036 00037 @end