X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Fcontrols%2Ftext-input%2Ftext-input-decorator-impl.h;h=7d316da5aa5fb9eb61fb5bd88159c8619e3031ca;hp=087cde32e9c5bd650476f6a21462557d06b6a1ac;hb=b8c93847cc736bfc69876fd087ab06474fbfbe47;hpb=30f6ca1e541089b19f2b349a8a12d8a5bcaf2f9e diff --git a/base/dali-toolkit/internal/controls/text-input/text-input-decorator-impl.h b/base/dali-toolkit/internal/controls/text-input/text-input-decorator-impl.h index 087cde3..7d316da 100644 --- a/base/dali-toolkit/internal/controls/text-input/text-input-decorator-impl.h +++ b/base/dali-toolkit/internal/controls/text-input/text-input-decorator-impl.h @@ -1,26 +1,33 @@ #ifndef __DALI_TOOLKIT_INTERNAL_TEXT_INPUT_DECORATOR_H__ #define __DALI_TOOLKIT_INTERNAL_TEXT_INPUT_DECORATOR_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. -// - -#include +/* + * Copyright (c) 2014 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. + * + */ -// INTERNAL INCLUDES +// EXTERNAL INCLUDES +#include +#include +#include +#include +#include +#include +#include +// INTERNAL INCLUDES #include #include #include @@ -100,7 +107,7 @@ public: * @param actor Handle of the selection or grab handle. * @param gesture Data structure with the parameters of the gesture. */ - void OnHandlePan(Actor actor, PanGesture gesture); + void OnHandlePan(Actor actor, const PanGesture& gesture); // Selection Handles @@ -162,12 +169,6 @@ public: void SetSelectionHandlesVisibility( bool visible ); /** - * @brief Callback for when a handle is released - * @return bool - */ - bool OnHandleReleased(); - - /** * @brief Position Selection handles at given positions within the text string. * * @param[in] start where to place first handle @@ -631,5 +632,3 @@ private: } // namespace Dali #endif // __DALI_TOOLKIT_INTERNAL_TEXT_INPUT_DECORATOR_H__ - -