X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fcommon%2Fdali-common.h;h=4b7c4aaf877d5b32753257a2e5066966d862cfd9;hb=649ec06daecb510fb84fe4642a6af957f127e7ab;hp=a76ff30fd2da5ba6918da520d6f97072ca7c58ab;hpb=33cc47747db1fe7cfdb23cded801bd07d5275def;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/common/dali-common.h b/dali/public-api/common/dali-common.h old mode 100644 new mode 100755 index a76ff30..4b7c4aa --- a/dali/public-api/common/dali-common.h +++ b/dali/public-api/common/dali-common.h @@ -2,7 +2,7 @@ #define __DALI_COMMON_H__ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,10 +34,12 @@ # ifndef HIDE_DALI_INTERNALS # define DALI_EXPORT_API # define DALI_IMPORT_API +# define DALI_CORE_API # define DALI_INTERNAL # else # define DALI_EXPORT_API __attribute__ ((visibility ("default"))) # define DALI_IMPORT_API __attribute__ ((visibility ("default"))) +# define DALI_CORE_API __attribute__ ((visibility ("default"))) # define DALI_INTERNAL __attribute__ ((visibility ("hidden"))) # endif #else @@ -45,6 +47,8 @@ # define DALI_EXPORT_API /** Visibility attribute to show declarations */ # define DALI_IMPORT_API +/** Visibility attribute to show declarations */ +# define DALI_CORE_API /** Visibility attribute to hide declarations */ # define DALI_INTERNAL #endif @@ -90,13 +94,13 @@ namespace Dali * @param[in] location Where the assertion occurred * @param[in] condition The assertion condition */ -DALI_IMPORT_API void DaliAssertMessage( const char* location, const char* condition ); +DALI_CORE_API void DaliAssertMessage( const char* location, const char* condition ); /** * @brief Exception class for Dali Core library - Raised by assertions in codebase. * @SINCE_1_0.0 */ -class DALI_IMPORT_API DaliException +class DALI_CORE_API DaliException { public: /**