a8597ad984025d75d1f8ef81b07b504d2d75c95d
[platform/core/graphics/tizenvg.git] / inc / tizenvg.h
1 /*
2  * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
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 _TIZENVG_H_
18 #define _TIZENVG_H_
19
20 #include <memory>
21
22 #ifdef TIZENVG_BUILD
23     #define TIZENVG_EXPORT __attribute__ ((visibility ("default")))
24 #else
25     #define TIZENVG_EXPORT
26 #endif
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 namespace tizenvg
33 {
34
35 /**
36  * @class Engine
37  *
38  * @ingroup TizenVG
39  *
40  * @brief description...
41  *
42  */
43 class TIZENVG_EXPORT Engine final
44 {
45 public:
46     /**
47      * @brief ...
48      *
49      * @param[in] arg ...
50      *
51      * @note ...
52      *
53      * @return ...
54      *
55      * @see ...
56      */
57     static int init() noexcept;
58     static int term() noexcept;
59 };
60
61 } //namespace
62
63 #ifdef __cplusplus
64 }
65 #endif
66
67 #endif //_TIZENVG_H_