Merge "DALi Version 1.2.40" into devel/master
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / automatic / cpp / DaliWrapper.h
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
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
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.
24
25 #ifdef DALIWRAPPER_EXPORTS
26 #define DALIWRAPPER_API __declspec(dllexport)
27 #else
28 #define DALIWRAPPER_API __declspec(dllimport)
29 #endif
30
31 // This class is exported from the DaliWrapper.dll
32 class DALIWRAPPER_API CDaliWrapper
33 {
34
35 public:
36   CDaliWrapper(void);
37   // TODO: add your methods here.
38
39 };
40
41 extern DALIWRAPPER_API int nDaliWrapper;
42
43 DALIWRAPPER_API int fnDaliWrapper(void);