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=ce5af888a4bd5e10a2f359cda23c0ef7e8cccacd;hp=4d74defa1ade13a20a6a7724009fd51583748129;hb=1bc80454daa9e30655e4c4dec1784f6e9e5f496a;hpb=526a64a21247c78086bbee7a2bcc7ca13142f3ed diff --git a/dali-toolkit/internal/text/text-control-interface.h b/dali-toolkit/internal/text/text-control-interface.h index 4d74def..ce5af88 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) 2016 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. @@ -21,8 +21,6 @@ namespace Dali { -class Actor; - namespace Toolkit { @@ -37,36 +35,15 @@ 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 +52,4 @@ public: } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H__ +#endif // DALI_TOOLKIT_TEXT_CONTROL_INTERFACE_H