UniMRCP  1.7.0
mrcp.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_H
18 #define MRCP_H
19 
20 /**
21  * @file mrcp.h
22  * @brief MRCP Core Definitions
23  */
24 
25 #include <apt.h>
26 #include <apt_dir_layout.h>
27 
28 /** Library export/import defines */
29 #ifdef WIN32
30 #ifdef MRCP_STATIC_LIB
31 #define MRCP_DECLARE(type) type __stdcall
32 #else
33 #ifdef MRCP_LIB_EXPORT
34 #define MRCP_DECLARE(type) __declspec(dllexport) type __stdcall
35 #else
36 #define MRCP_DECLARE(type) __declspec(dllimport) type __stdcall
37 #endif
38 #endif
39 #else
40 #define MRCP_DECLARE(type) type
41 #endif
42 
43 #endif /* MRCP_H */
APR Toolkit Definitions.
Directories Layout.