Updated non-capi public API documentation to new style.
[platform/core/uifw/dali-core.git] / dali / public-api / common / map-wrapper.h
1 #ifndef __DALI_MAP_H__
2 #define __DALI_MAP_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //     http://floralicense.org/license/
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19
20 // EXTERNAL INCLUDES
21 #include <dali/public-api/common/dali-common.h>
22
23
24 #ifndef HIDE_DALI_INTERNALS
25
26 # include <map>
27
28 #else
29
30 // ensure that default visibility is used with any class that is used as an exception type
31 # include <memory>
32 # include <new>
33 # include <stdexcept>
34
35 # include <bits/c++config.h>
36 # include <bits/stl_tree.h>
37 # undef _GLIBCXX_VISIBILITY_ATTR
38 # define _GLIBCXX_VISIBILITY_ATTR(V) __attribute__ ((__visibility__ ("hidden")))
39 # include <map>
40 # undef _GLIBCXX_VISIBILITY_ATTR
41 # define _GLIBCXX_VISIBILITY_ATTR(V) __attribute__ ((__visibility__ (#V))) // restore `_GLIBCXX_VISIBILITY_ATTR`
42
43 #endif //ifndef HIDE_DALI_INTERNALS
44
45
46 #endif /* __DALI_MAP_H__ */