MarkLogic Connect
MarkLogic Connect Client API Collection
mlclient.h
1 //
2 // Copyright (c) MarkLogic Corporation. All rights reserved.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 // http://www.apache.org/licenses/LICENSE-2.0
7 //
8 // Unless required by applicable law or agreed to in writing, software
9 // distributed under the License is distributed on an "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 // See the License for the specific language governing permissions and
12 // limitations under the License.
13 //
14 
15 #pragma once
16 
17 #ifndef MLCLIENT_H
18 #define MLCLIENT_H
19 
20 #ifdef _WIN32
21 
22 #ifdef MLCLIENT_EXPORTS
23 #define MLCLIENT_API __declspec(dllexport)
24 #else
25 #define MLCLIENT_API __declspec(dllimport)
26 #endif
27 
28 #else
29 
30 #define MLCLIENT_API
31 
32 #endif
33 
34 #endif