X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-selectable-control-interface.h;h=65a35cad2a096b9c128133aa5d397d17b9e0c3f1;hb=b05a852e155e887cb0e9e1018205c57bfbbfa334;hp=fe70abb2917f6fd86969ceba63053e6c43f564c3;hpb=e74563220e35ea81a5b932186221623eed0fc62e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-selectable-control-interface.h b/dali-toolkit/internal/text/text-selectable-control-interface.h index fe70abb..65a35ca 100644 --- a/dali-toolkit/internal/text/text-selectable-control-interface.h +++ b/dali-toolkit/internal/text/text-selectable-control-interface.h @@ -25,6 +25,7 @@ namespace Toolkit { using Uint32Pair = std::pair; +using string = std::string; namespace Text { @@ -52,6 +53,22 @@ public: * @return pair contains start and end positions. */ virtual Uint32Pair GetTextSelectionRange() const = 0; + + /** + * @brief Called to select the whole texts. + */ + virtual void SelectWholeText() = 0; + + /** + * @brief Called to unselect the whole texts. + */ + virtual void SelectNone() = 0; + + /** + * @brief Retrive Selected text. + * @return The seletced text. + */ + virtual string GetSelectedText() const = 0; }; } // namespace Text