00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MRCP_RECOG_RESOURCE_H
00020 #define MRCP_RECOG_RESOURCE_H
00021
00022
00023
00024
00025
00026
00027 #include "mrcp_types.h"
00028
00029 APT_BEGIN_EXTERN_C
00030
00031
00032 typedef enum {
00033 RECOGNIZER_SET_PARAMS,
00034 RECOGNIZER_GET_PARAMS,
00035 RECOGNIZER_DEFINE_GRAMMAR,
00036 RECOGNIZER_RECOGNIZE,
00037 RECOGNIZER_GET_RESULT,
00038 RECOGNIZER_START_INPUT_TIMERS,
00039 RECOGNIZER_STOP,
00040
00041 RECOGNIZER_METHOD_COUNT
00042 } mrcp_recognizer_method_id;
00043
00044
00045 typedef enum {
00046 RECOGNIZER_START_OF_INPUT,
00047 RECOGNIZER_RECOGNITION_COMPLETE,
00048
00049 RECOGNIZER_EVENT_COUNT
00050 } mrcp_recognizer_event_id;
00051
00052
00053 MRCP_DECLARE(mrcp_resource_t*) mrcp_recog_resource_create(apr_pool_t *pool);
00054
00055 APT_END_EXTERN_C
00056
00057 #endif