2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 // The following ifdef block is the standard way of creating macros which make exporting
19 // from a DLL simpler. All files within this DLL are compiled with the DALIWRAPPER_EXPORTS
20 // symbol defined on the command line. this symbol should not be defined on any project
21 // that uses this DLL. This way any other project whose source files include this file see
22 // DALIWRAPPER_API functions as being imported from a DLL, whereas this DLL sees symbols
23 // defined with this macro as being exported.
25 #ifdef DALIWRAPPER_EXPORTS
26 #define DALIWRAPPER_API __declspec(dllexport)
28 #define DALIWRAPPER_API __declspec(dllimport)
31 // This class is exported from the DaliWrapper.dll
32 class DALIWRAPPER_API CDaliWrapper
37 // TODO: add your methods here.
41 extern DALIWRAPPER_API int nDaliWrapper;
43 DALIWRAPPER_API int fnDaliWrapper(void);