X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-selectable-control-interface.h;h=65a35cad2a096b9c128133aa5d397d17b9e0c3f1;hp=fe70abb2917f6fd86969ceba63053e6c43f564c3;hb=d48e9b8b161367ad699c0352dfeb0128832bbe59;hpb=60d99d04d7677a1b91d4f2fdd9e74bc5e1b5e7bf 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