00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "AMScheduler.h"
00011 #import "AMSound.h"
00012 #import "AMChunk.h"
00013 #import "AMInstance.h"
00014 #import "a2ml.h"
00015 #import "fmod.hpp"
00016 #import "fmod_errors.h"
00017 #import <Foundation/Foundation.h>
00018
00019
00024 @interface AMSoundManager : NSObject
00025 {
00026
00027 }
00028
00032 + (void)createSoundManager;
00033
00037 + (void)releaseSoundManager;
00038
00043 + (AMScheduler *)getScheduler;
00044
00050 + (void)loadA2ML:(NSString *)_path error:(NSError **)_error;
00051
00056 + (NSNotificationCenter *)getNotificationCenter;
00057
00063 + (void)addKeyID:(NSString *)_id forObject:(id)_obj;
00064
00069 + (void)removeObjectForKeyID:(NSString *)_id;
00070
00076 + (id)getObjectFromID:(NSString *)_id;
00077
00083 + (void)addKeyUID:(UID)_uid forID:(NSString *)_id;
00084
00089 + (void)removeKeyUID:(UID)_uid;
00090
00096 + (NSString *)getIDFromKeyUID:(UID)_uid;
00097
00103 + (BOOL)checkID:(NSString *)_id;
00104
00110 + (void)addInstanceToReleasePool:(AMInstance *)_instance;
00111
00116 + (void)removeInstanceFromReleasePool:(AMInstance *)_instance;
00117
00122 + (NSSet *)getControls;
00123
00129 + (AMControl *)getControlWithName:(NSString *)_name;
00130
00136 + (AMControl *)createControlWithName:(NSString *)_name;
00137
00138
00144 + (FMOD::System *)getFMODSystem;
00145
00146 @end