X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fimage-loader%2Fatlas-upload-observer.h;h=53d1c0eb31cb7a3c42f9747baeee1b29a87819df;hb=HEAD;hp=2688c1a6e211f528743d5547fb100db5025629ac;hpb=1ff26466c5458cda1de2997cd4e27b014ff0275a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/image-loader/atlas-upload-observer.h b/dali-toolkit/devel-api/image-loader/atlas-upload-observer.h index 2688c1a..e532247 100644 --- a/dali-toolkit/devel-api/image-loader/atlas-upload-observer.h +++ b/dali-toolkit/devel-api/image-loader/atlas-upload-observer.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_ATLAS_UPLOAD_OBSERVER_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -18,17 +18,14 @@ * */ -#include +#include #include #include - namespace Dali { - namespace Toolkit { - namespace Internal { class ImageAtlas; @@ -39,10 +36,9 @@ class ImageAtlas; * * Derived class should implement the UploadCompleted method which would get executed once the texture is ready. */ -class DALI_IMPORT_API AtlasUploadObserver +class DALI_TOOLKIT_API AtlasUploadObserver { public: - /** * @brief Constructor. */ @@ -59,23 +55,20 @@ public: virtual void UploadCompleted() = 0; public: // not intended for developer, called by ImageAtlas internally to get notified when this observer dies - /** * @brief Register an ImageAtlas which be notified when the observer is destructing. * @param[in] imageAtlas The ImageAtlas object to get notification about the destruction of the observer. */ - void Register( Internal::ImageAtlas& imageAtlas ); + void Register(Internal::ImageAtlas& imageAtlas); /** * @brief Unregister an ImageAtlas which be notified when the observer is destructing. * @param[in] imageAtlas The ImageAtlas object to get notification about the destruction of the observer. */ - void Unregister( Internal::ImageAtlas& imageAtlas ); + void Unregister(Internal::ImageAtlas& imageAtlas); private: - Vector mAtlasList; ///< The list of the registered ImageAtlas object - }; } // namespace Toolkit