X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-control-interface.h;h=8e69be53e9fd01554fa2e92ed1f3017acf34ff30;hb=d74d70d51ed70b00e29a2b6feac5419124fffc49;hp=4d74defa1ade13a20a6a7724009fd51583748129;hpb=0a602bfd2ebfc87655895aaaabecce8de5c12d33;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-control-interface.h b/dali-toolkit/internal/text/text-control-interface.h index 4d74def..8e69be5 100644 --- a/dali-toolkit/internal/text/text-control-interface.h +++ b/dali-toolkit/internal/text/text-control-interface.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H__ -#define __DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H__ +#ifndef DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H +#define DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -20,53 +20,27 @@ namespace Dali { - -class Actor; - namespace Toolkit { - namespace Text { - /** * @brief An interface that the Text::Controller uses to request a text relayout. */ class ControlInterface { public: - - /** - * @brief Constructor. - */ - ControlInterface(); - /** * @brief Virtual destructor. */ - virtual ~ControlInterface(); - - /** - * @brief Add a decoration. - * - * @param[in] decoration The actor displaying a decoration. - */ - virtual void AddDecoration( Actor& actor ) = 0; + virtual ~ControlInterface() + { + } /** * @brief Called to request a text relayout. */ virtual void RequestTextRelayout() = 0; - - /** - * @brief Called to signal that text has been inserted or deleted. - */ - virtual void TextChanged() = 0; - - /** - * @brief Called when the number of characters to be inserted exceeds the maximum limit - */ - virtual void MaxLengthReached() = 0; }; } // namespace Text @@ -75,4 +49,4 @@ public: } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H__ +#endif // DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H