00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "AMInstance.h"
00011 #import "AMChunkListener.h"
00012 #import "AMChunkInstance.h"
00013 #import "AMListenable.h"
00014 #import "AMCue.h"
00015 #import "AMCueListener.h"
00016 #import "AMControl.h"
00017 #import "AMControllable.h"
00018 #import "a2ml.h"
00019 #import <Foundation/Foundation.h>
00020
00021
00022
00023 @class AMChunkInstance;
00024
00029 @interface AMCueInstance : AMInstance <AMControllable, AMChunkListener, AMPlayable> {
00030
00031 int currentChunk;
00032 int nextChunk;
00033 int remainingLoops;
00034 int chunksPlaying;
00035 char releaseTimeout;
00036 AMChunkInstance *chkInstance1;
00037 AMChunkInstance *chkInstance2;
00038 NSMutableDictionary *controls;
00039 }
00040
00045 @property (nonatomic) char releaseTimeout;
00046
00051 - (int)updateNextChunk;
00052
00053
00059 - (AMChunkInstance *)getChunkInstance1;
00060
00066 - (AMChunkInstance *)getChunkInstance2;
00067
00068 @end