From: Kimmo Hoikka Date: Thu, 18 Jun 2015 10:21:33 +0000 (+0100) Subject: Remove a few unnecessary exports X-Git-Tag: dali_1.0.46~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6865c383d8129628044b6085a627396eacad0adb;p=platform%2Fcore%2Fuifw%2Fdali-core.git Remove a few unnecessary exports Change-Id: I81b56ba3008d5099e383294c7718c0536252c1b8 --- diff --git a/dali/integration-api/profiling.h b/dali/integration-api/profiling.h index 464da3067..037e29b9b 100644 --- a/dali/integration-api/profiling.h +++ b/dali/integration-api/profiling.h @@ -2,7 +2,7 @@ #define __DALI_INTEGRATION_PROFILING_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 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. @@ -52,7 +52,6 @@ DALI_IMPORT_API extern const int ANIMATION_MEMORY_SIZE; ///< Total size of an DALI_IMPORT_API extern const int CONSTRAINT_MEMORY_SIZE; ///< Total size of constraint and associated internal objects DALI_IMPORT_API extern const int ACTOR_MEMORY_SIZE; ///< Total size of actor and associated internal objects DALI_IMPORT_API extern const int CAMERA_ACTOR_MEMORY_SIZE; ///< Total size of camera actor and associated internal objects -DALI_IMPORT_API extern const int TEXT_ACTOR_MEMORY_SIZE; ///< Total size of text actor and associated internal objects DALI_IMPORT_API extern const int MESH_ACTOR_MEMORY_SIZE; ///< Total size of mesh actor and associated internal objects DALI_IMPORT_API extern const int IMAGE_ACTOR_MEMORY_SIZE; ///< Total size of image actor and associated internal objects DALI_IMPORT_API extern const int LAYER_MEMORY_SIZE; ///< Total size of layer and associated internal objects diff --git a/dali/public-api/actors/actor.cpp b/dali/public-api/actors/actor.cpp index 38d0e7595..1f413fbe5 100644 --- a/dali/public-api/actors/actor.cpp +++ b/dali/public-api/actors/actor.cpp @@ -568,13 +568,4 @@ Actor::Actor(Internal::Actor* internal) { } -void UnparentAndReset( Actor& actor ) -{ - if( actor ) - { - actor.Unparent(); - actor.Reset(); - } -} - } // namespace Dali diff --git a/dali/public-api/actors/actor.h b/dali/public-api/actors/actor.h index 1d6035bfd..bbc06d77c 100644 --- a/dali/public-api/actors/actor.h +++ b/dali/public-api/actors/actor.h @@ -1369,7 +1369,16 @@ public: // Not intended for application developers * actor.Unparent() will be called, followed by actor.Reset(). * @param[in,out] actor A handle to an actor, or an empty handle. */ - DALI_IMPORT_API void UnparentAndReset( Actor& actor ); +inline void UnparentAndReset( Actor& actor ) +{ + if( actor ) + { + actor.Unparent(); + actor.Reset(); + } +} + + } // namespace Dali diff --git a/dali/public-api/animation/constraint.h b/dali/public-api/animation/constraint.h index 6d047f4f5..6f51a6850 100644 --- a/dali/public-api/animation/constraint.h +++ b/dali/public-api/animation/constraint.h @@ -86,7 +86,7 @@ public: * @tparam P The property type to constrain. */ template< typename P > - class Function : public CallbackBase + class DALI_INTERNAL Function : public CallbackBase { public: