UniMRCP  1.3.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mrcp_resource_engine.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: mrcp_resource_engine.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17  */
18 
19 #ifndef MRCP_RESOURCE_ENGINE_H
20 #define MRCP_RESOURCE_ENGINE_H
21 
22 /**
23  * @file mrcp_resource_engine.h
24  * @brief Legacy MRCP Resource Engine
25  * @deprecated @see mrcp_engine_plugin.h and mrcp_engine_impl.h
26  */
27 
28 #include "mrcp_engine_plugin.h"
29 #include "mrcp_engine_impl.h"
30 
32 
33 /** Termorary define legacy mrcp_resource_engine_t as mrcp_engine_t */
35 
36 /**
37  * Create resource engine
38  * @deprecated @see mrcp_engine_create
39  */
40 static APR_INLINE mrcp_engine_t* mrcp_resource_engine_create(
41  mrcp_resource_id resource_id,
42  void *obj,
43  const mrcp_engine_method_vtable_t *vtable,
44  apr_pool_t *pool)
45 {
46  return mrcp_engine_create(resource_id,obj,vtable,pool);
47 }
48 
50 
51 #endif /* MRCP_RESOURCE_ENGINE_H */