UniMRCP  1.7.0
demo_framework.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_FRAMEWORK_H
18 #define DEMO_FRAMEWORK_H
19 
20 /**
21  * @file demo_framework.h
22  * @brief Demo MRCP Application Framework
23  */
24 
25 #include "mrcp_types.h"
26 
28 
29 /** Opaque demo framework declaration */
31 
32 /**
33  * Create demo framework.
34  */
36 
37 /**
38  * Run demo application.
39  * @param framework the framework to run application for
40  * @param app_name the name of the application to run
41  * @param profile_name the name of the profile to use
42  */
43 apt_bool_t demo_framework_app_run(demo_framework_t *framework, const char *app_name, const char *profile_name);
44 
45 /**
46  * Destroy demo framework.
47  * @param framework the framework to destroy
48  */
50 
52 
53 #endif /* DEMO_FRAMEWORK_H */
struct apt_dir_layout_t apt_dir_layout_t
Definition: apt_dir_layout.h:38
typedefAPT_BEGIN_EXTERN_C struct demo_framework_t demo_framework_t
Definition: demo_framework.h:30
#define APT_END_EXTERN_C
Definition: apt.h:38
int apt_bool_t
Definition: apt.h:57
apt_bool_t demo_framework_app_run(demo_framework_t *framework, const char *app_name, const char *profile_name)
demo_framework_t * demo_framework_create(apt_dir_layout_t *dir_layout)
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
Basic MRCP Types.
apt_bool_t demo_framework_destroy(demo_framework_t *framework)