00001 // ** LICENSE BLOCK ** 00002 // 00003 // AMCueListener.h 00004 // aria 00005 // 00006 // Created by Yohan Lasorsa on 18/08/09. 00007 // Copyright 2009 INRIA, Team WAM. All rights reserved. 00008 // 00009 00010 #import "AMCue.h" 00011 #import <Foundation/Foundation.h> 00012 00013 00014 // to avoid import loop errors 00015 @class AMCue; 00016 00020 enum AMCueEventType { 00021 AM_CUE_STARTED = 0, // The cue started 00022 AM_CUE_STOPPED, // The cue was stopped 00023 AM_CUE_ENDED, // The cue ended 00024 AM_CUE_REPEATED // The cue repeated 00025 }; 00026 00030 @protocol AMCueListener 00031 00038 - (void)cueUpdate:(AMCue *)_cue eventType:(int)_type eventData:(void *)_data; 00039 00040 @end