/**
* Copyright(c) 2011 Sunmedia Technologies - All Rights Reserved.
*
* @file al_ews_monitor.h
*
* @brief this file defines ews monitor function.
*
* The file supports the ews monitor functions by used for app layer.
* The ews monitor monitor Announcement support descriptor and Adaptation field data descriptor, 
* notify special audio monitor af flag to change audio or service
*
*/

#ifndef __AL_EWS_MONITOR_H__
#define __AL_EWS_MONITOR_H__

#include "al_basictypes.h"
#include "dvb_dr_dvb.h"

#ifdef __cplusplus
	extern "C"{
#endif

/**
* @brief get anouncement data.
*
* Get anouncement data for change audio.
*
* @ param pAncmData[output] anouncement data.
*
* @return AL_SUCCESS  is successful, AL_FAILURE otherwise.
*/
AL_Return_t AL_EWS_Monitor_GetData(dvbpsi_anouncement_t *pAncmData);

/**
* @brief reset anouncement data.
*
* Reset anouncement data for change channel and so on.
*
* @ param None.
*
* @return AL_SUCCESS  is successful, AL_FAILURE otherwise.
*/
AL_Return_t AL_EWS_Monitor_ResetData(al_void);

#ifdef __cplusplus
}
#endif
#endif


