X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-scene3d%2Fpublic-api%2Floader%2Falpha-function-helper.h;fp=dali-scene-loader%2Fpublic-api%2Falpha-function-helper.h;h=d421a3ecb872623ebf9baf2ba2a2de08c7f72bec;hp=a524b81fc1bd60afd6bb2f58019b1c75c3e69568;hb=f2ee13ccda8c768fddc68f5208b7dcfa54c07242;hpb=a656457377ae913f2a81b33a506ef905cdf01ff8 diff --git a/dali-scene-loader/public-api/alpha-function-helper.h b/dali-scene3d/public-api/loader/alpha-function-helper.h similarity index 63% rename from dali-scene-loader/public-api/alpha-function-helper.h rename to dali-scene3d/public-api/loader/alpha-function-helper.h index a524b81..d421a3e 100644 --- a/dali-scene-loader/public-api/alpha-function-helper.h +++ b/dali-scene3d/public-api/loader/alpha-function-helper.h @@ -1,7 +1,7 @@ -#ifndef DALI_SCENE_LOADER_ALPHA_FUNCTION_HELPER_H_ -#define DALI_SCENE_LOADER_ALPHA_FUNCTION_HELPER_H_ +#ifndef DALI_SCENE3D_LOADER_ALPHA_FUNCTION_HELPER_H_ +#define DALI_SCENE3D_LOADER_ALPHA_FUNCTION_HELPER_H_ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -17,28 +17,31 @@ * */ -#include "dali-scene-loader/public-api/api.h" +#include "dali-scene3d/public-api/api.h" #include #include "dali/public-api/animation/alpha-function.h" namespace Dali { -namespace SceneLoader +namespace Scene3D +{ +namespace Loader { /** * @return Given a name, provide a AlphaFunction; if the name was not * recognised, get the default one. */ -AlphaFunction DALI_SCENE_LOADER_API GetAlphaFunction(const std::string& name, bool* found = nullptr); +AlphaFunction DALI_SCENE3D_API GetAlphaFunction(const std::string& name, bool* found = nullptr); /** * @brief Registers an alpha function only if one with the same @a name has * not yet been registered. Throws Exception the name isn't unique. */ -void DALI_SCENE_LOADER_API RegisterAlphaFunction(const std::string& name, AlphaFunction alphaFn) noexcept(false); +void DALI_SCENE3D_API RegisterAlphaFunction(const std::string& name, AlphaFunction alphaFn) noexcept(false); -} // namespace SceneLoader +} // namespace Loader +} // namespace Scene3D } // namespace Dali -#endif //DALI_SCENE_LOADER_ALPHA_FUNCTION_HELPER_H_ +#endif //DALI_SCENE3D_LOADER_ALPHA_FUNCTION_HELPER_H_