UniMRCP  1.7.0
mrcp_resource_engine.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 MRCP_RESOURCE_ENGINE_H
18 #define MRCP_RESOURCE_ENGINE_H
19 
20 /**
21  * @file mrcp_resource_engine.h
22  * @brief Legacy MRCP Resource Engine
23  * @deprecated @see mrcp_engine_plugin.h and mrcp_engine_impl.h
24  */
25 
26 #include "mrcp_engine_plugin.h"
27 #include "mrcp_engine_impl.h"
28 
30 
31 /** Termorary define legacy mrcp_resource_engine_t as mrcp_engine_t */
33 
34 /**
35  * Create resource engine
36  * @deprecated @see mrcp_engine_create
37  */
38 static APR_INLINE mrcp_engine_t* mrcp_resource_engine_create(
39  mrcp_resource_id resource_id,
40  void *obj,
41  const mrcp_engine_method_vtable_t *vtable,
42  apr_pool_t *pool)
43 {
44  return mrcp_engine_create(resource_id,obj,vtable,pool);
45 }
46 
48 
49 #endif /* MRCP_RESOURCE_ENGINE_H */
#define APT_END_EXTERN_C
Definition: apt.h:38
Definition: mrcp_engine_types.h:99
APT_BEGIN_EXTERN_C mrcp_engine_t * mrcp_engine_create(mrcp_resource_id resource_id, void *obj, const mrcp_engine_method_vtable_t *vtable, apr_pool_t *pool)
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
apr_size_t mrcp_resource_id
Definition: mrcp_types.h:68
APT_BEGIN_EXTERN_C typedef mrcp_engine_t mrcp_resource_engine_t
Definition: mrcp_resource_engine.h:32
MRCP Engine Realization Interface (typically should be implemented in plugins)
MRCP Engine Plugin.
Definition: mrcp_engine_types.h:119