UniMRCP  1.7.0
demo_application.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 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 
17 #ifndef DEMO_APPLICATION_H
18 #define DEMO_APPLICATION_H
19 
20 /**
21  * @file demo_application.h
22  * @brief Demo MRCP Application
23  */
24 
25 #include "mrcp_application.h"
26 
28 
29 /** Demo application declaration */
31 
32 /** Demo application */
34  /** MRCP application */
36  /** Demo framework */
37  void *framework;
38 
39  /** Virtual run method */
40  apt_bool_t (*run)(demo_application_t *application, const char *profile);
41  /** Virtual app_message handler */
43 };
44 
45 
46 /** Create demo synthesizer application */
48 
49 /** Create demo recognizer application */
51 
52 /** Create demo bypass media application */
54 
55 /** Create demo resource discover application */
57 
58 
60 
61 #endif /* DEMO_APPLICATION_H */
apt_bool_t(* run)(demo_application_t *application, const char *profile)
Definition: demo_application.h:40
#define APT_END_EXTERN_C
Definition: apt.h:38
MRCP User Level Application Interface.
int apt_bool_t
Definition: apt.h:57
Definition: demo_application.h:33
Definition: mrcp_application.h:94
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
void * framework
Definition: demo_application.h:37
demo_application_t * demo_recog_application_create(apr_pool_t *pool)
Definition: mrcp_client_session.h:161
demo_application_t * demo_synth_application_create(apr_pool_t *pool)
demo_application_t * demo_bypass_application_create(apr_pool_t *pool)
demo_application_t * demo_discover_application_create(apr_pool_t *pool)
apt_bool_t(* handler)(demo_application_t *application, const mrcp_app_message_t *app_message)
Definition: demo_application.h:42
mrcp_application_t * application
Definition: demo_application.h:35