qivw.h
Go to the documentation of this file.
1 #ifndef __QIVW_H__
2 #define __QIVW_H__
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif /* C++ */
7 
8 #include "msp_types.h"
9 
10 typedef int (*ivw_ntf_handler)(const char* sessionID, int msg, int param1, int param2, const void* info,
11  void* userData);
12 
13 const char* MSPAPI QIVWSessionBegin(const char* grammarList, const char* params, int* errorCode);
14 typedef const char*(MSPAPI* Proc_QIVWSessionBegin)(const char* grammarList, const char* params, int* errorCode);
15 
16 int MSPAPI QIVWSessionEnd(const char* sessionID, const char* hints);
17 typedef int(MSPAPI* Proc_QIVWSessionEnd)(const char* sessionID, const char* hints);
18 
19 int MSPAPI QIVWAudioWrite(const char* sessionID, const void* audioData, unsigned int audioLen, int audioStatus);
20 typedef int(MSPAPI* Proc_QIVWAudioWrite)(const char* sessionID, const void* audioData, unsigned int audioLen,
21  int audioStatus);
22 
23 int MSPAPI QIVWRegisterNotify(const char* sessionID, ivw_ntf_handler msgProcCb, void* userData);
24 typedef int(MSPAPI* Proc_QIVWRegisterNotify)(const char* sessionID, ivw_ntf_handler msgProcCb, void* userData);
25 
26 int MSPAPI QIVWGetResInfo(const char* resPath, char* resInfo, unsigned int* infoLen, const char* params);
27 typedef int(MSPAPI* Proc_QIVWGetResInfo)(const char* resPath, char* resInfo, unsigned int* infoLen, const char* params);
28 
29 #ifdef __cplusplus
30 } /* extern "C" */
31 #endif /* C++ */
32 
33 #endif /* __QIVW_H__ */
int(MSPAPI * Proc_QIVWRegisterNotify)(const char *sessionID, ivw_ntf_handler msgProcCb, void *userData)
Definition: qivw.h:24
int MSPAPI QIVWRegisterNotify(const char *sessionID, ivw_ntf_handler msgProcCb, void *userData)
#define MSPAPI
Definition: msp_types.h:8
int(MSPAPI * Proc_QIVWAudioWrite)(const char *sessionID, const void *audioData, unsigned int audioLen, int audioStatus)
Definition: qivw.h:20
int(MSPAPI * Proc_QIVWGetResInfo)(const char *resPath, char *resInfo, unsigned int *infoLen, const char *params)
Definition: qivw.h:27
int MSPAPI QIVWGetResInfo(const char *resPath, char *resInfo, unsigned int *infoLen, const char *params)
int MSPAPI QIVWSessionEnd(const char *sessionID, const char *hints)
int MSPAPI QIVWAudioWrite(const char *sessionID, const void *audioData, unsigned int audioLen, int audioStatus)
const char *(MSPAPI * Proc_QIVWSessionBegin)(const char *grammarList, const char *params, int *errorCode)
Definition: qivw.h:14
const char *MSPAPI QIVWSessionBegin(const char *grammarList, const char *params, int *errorCode)
int(MSPAPI * Proc_QIVWSessionEnd)(const char *sessionID, const char *hints)
Definition: qivw.h:17
int(* ivw_ntf_handler)(const char *sessionID, int msg, int param1, int param2, const void *info, void *userData)
Definition: qivw.h:10


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:53