X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisual-factory%2Fvisual-base.h;h=0d6fd9e6a1cef8e267f9087c0866fa80abf10602;hb=2ffec8b73989656f70411ef1a99a721b6f86cd14;hp=54a03105b2b80dc12d7320dab1a689900f6ceaa4;hpb=1e5f8e03bf0dfd40c9efd641d915dd1173eae4e5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/visual-factory/visual-base.h b/dali-toolkit/devel-api/visual-factory/visual-base.h old mode 100644 new mode 100755 index 54a0310..0d6fd9e --- a/dali-toolkit/devel-api/visual-factory/visual-base.h +++ b/dali-toolkit/devel-api/visual-factory/visual-base.h @@ -1,7 +1,7 @@ #ifndef DALI_TOOLKIT_VISUAL_BASE_H #define DALI_TOOLKIT_VISUAL_BASE_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. @@ -21,6 +21,10 @@ #include #include +// INTERNAL INCLUDES +#include +#include + namespace Dali { @@ -77,7 +81,7 @@ namespace Visual * Absolute means that the component describes world units (equivalent to pixels) * */ -class DALI_IMPORT_API Base : public BaseHandle +class DALI_TOOLKIT_API Base : public BaseHandle { public: @@ -122,7 +126,7 @@ public: * Used by the styling system to animate properties * @return The name of the visual */ - const std::string& GetName(); + const std::string& GetName() const; /** * @brief Sets the transform and the control size @@ -187,6 +191,13 @@ public: */ void CreatePropertyMap( Dali::Property::Map& map ) const; + /** + * @brief Get the type of this visual. + * + * @return The the type of this visual. + */ + Visual::Type GetType() const; + public: // Not intended for application developers explicit DALI_INTERNAL Base(Internal::Visual::Base *impl);