X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fshader-effects%2Fdisplacement-effect.h;h=dbc38baa6810b4b6a6aff016dbe529f95d0fe055;hb=refs%2Fchanges%2F99%2F38499%2F2;hp=ee163b3cd144889b6887f0dcf45f5c1aa6411cb1;hpb=e2eda444afbe82e9591fe198eef339227f90a616;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/shader-effects/displacement-effect.h b/dali-toolkit/public-api/shader-effects/displacement-effect.h index ee163b3..dbc38ba 100644 --- a/dali-toolkit/public-api/shader-effects/displacement-effect.h +++ b/dali-toolkit/public-api/shader-effects/displacement-effect.h @@ -1,26 +1,27 @@ #ifndef __DALI_TOOLKIT_SHADER_EFFECT_DISPLACEMENT_H__ #define __DALI_TOOLKIT_SHADER_EFFECT_DISPLACEMENT_H__ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -// INTERNAL INCLUDES -#include - -namespace Dali DALI_IMPORT_API +/* + * 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +// EXTERNAL INCLUDES +#include + +namespace Dali { namespace Toolkit @@ -69,7 +70,7 @@ namespace Toolkit * animation.Play();\n * */ -class DisplacementEffect : public ShaderEffect +class DALI_IMPORT_API DisplacementEffect : public ShaderEffect { public: @@ -87,9 +88,11 @@ public: DisplacementEffect(); /** - * Virtual destructor. + * @brief Destructor + * + * This is non-virtual since derived Handle types must not contain data or virtual methods. */ - virtual ~DisplacementEffect(); + ~DisplacementEffect(); /** * Create an initialized DisplacementEffect @@ -210,7 +213,7 @@ public: private: // Not intended for application developers - DisplacementEffect(ShaderEffect handle); + DALI_INTERNAL DisplacementEffect(ShaderEffect handle); }; } @@ -218,4 +221,3 @@ private: } #endif //#ifndef __DALI_TOOLKIT_SHADER_EFFECT_DISPLACEMENT_H__ -