00001 // ** LICENSE BLOCK ** 00002 // 00003 // AMChunkListener.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 "AMChunk.h" 00011 #import <Foundation/Foundation.h> 00012 00013 00014 // to avoid import loop errors 00015 @class AMChunk; 00016 00020 enum AMChunkEventType { 00021 AM_CHK_STARTED = 0, // The chunk started 00022 AM_CHK_STOPPED, // The chunk was stopped 00023 AM_CHK_ENDED // The chunk ended 00024 }; 00025 00029 @protocol AMChunkListener 00030 00037 - (void)chunkUpdate:(AMChunk *)_chunk eventType:(int)_type eventData:(void *)_data; 00038 00039 @end