X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-control-interface.h;h=8e69be53e9fd01554fa2e92ed1f3017acf34ff30;hp=f5346e005be5bb56b23e7f2aef833cfb92a32c2f;hb=9ddd5fea6278d06b8874988498c7c4c6508750ba;hpb=27833bb592e5b8a271f12754dee5f1836becab51 diff --git a/dali-toolkit/internal/text/text-control-interface.h b/dali-toolkit/internal/text/text-control-interface.h index f5346e0..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) 2016 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. @@ -18,66 +18,29 @@ * */ -// INTERNAL INCLUDES -#include - 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. - * @param[in] needsClipping Whether the actor needs clipping. - */ - virtual void AddDecoration( Actor& actor, bool needsClipping ) = 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; - - /** - * @brief Called to signal that input style has been changed. - * - * @param[in] inputStyleMask Mask with the bits of the input style that has changed. - */ - virtual void InputStyleChanged( InputStyle::Mask inputStyleMask ) = 0; }; } // namespace Text @@ -86,4 +49,4 @@ public: } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H__ +#endif // DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H