UniMRCP
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platforms
unimrcp-client
include
demo_application.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2014 Arsen Chaloyan
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
* $Id: demo_application.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef DEMO_APPLICATION_H
20
#define DEMO_APPLICATION_H
21
22
/**
23
* @file demo_application.h
24
* @brief Demo MRCP Application
25
*/
26
27
#include "
mrcp_application.h
"
28
29
APT_BEGIN_EXTERN_C
30
31
/** Demo application declaration */
32
typedef
struct
demo_application_t
demo_application_t
;
33
34
/** Demo application */
35
struct
demo_application_t
{
36
/** MRCP application */
37
mrcp_application_t
*
application
;
38
/** Demo framework */
39
void
*
framework
;
40
41
/** Virtual run method */
42
apt_bool_t
(*
run
)(
demo_application_t
*
application
,
const
char
*profile);
43
/** Virtual app_message handler */
44
apt_bool_t
(*
handler
)(
demo_application_t
*
application
,
const
mrcp_app_message_t
*app_message);
45
};
46
47
48
/** Create demo synthesizer application */
49
demo_application_t
*
demo_synth_application_create
(apr_pool_t *pool);
50
51
/** Create demo recognizer application */
52
demo_application_t
*
demo_recog_application_create
(apr_pool_t *pool);
53
54
/** Create demo bypass media application */
55
demo_application_t
*
demo_bypass_application_create
(apr_pool_t *pool);
56
57
/** Create demo resource discover application */
58
demo_application_t
*
demo_discover_application_create
(apr_pool_t *pool);
59
60
61
APT_END_EXTERN_C
62
63
#endif
/* DEMO_APPLICATION_H */
Generated on Mon Feb 2 2015 19:41:38 for UniMRCP by
1.8.3.1