[AT-SPI] Squashed implementation
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-editable-control-interface.h
index e54704c..6239a68 100644 (file)
@@ -46,6 +46,21 @@ public:
   {}
 
   /**
+   * @brief Called to signal that text has been inserted.
+   */
+  virtual void TextInserted( unsigned int position, unsigned int length, const std::string &content ) = 0;
+
+  /**
+   * @brief Called to signal that text has been deleted.
+   */
+  virtual void TextDeleted( unsigned int position, unsigned int length, const std::string &content ) = 0;
+
+  /**
+   * @brief Called to signal that caret (cursor position) has been moved.
+   */
+  virtual void CaretMoved( unsigned int position ) = 0;
+
+  /**
    * @brief Called to signal that text has been inserted or deleted.
    */
   virtual void TextChanged() = 0;
@@ -69,6 +84,20 @@ public:
    * @param[in] needsClipping Whether the actor needs clipping.
    */
   virtual void AddDecoration( Actor& actor, bool needsClipping ) = 0;
+
+  /**
+   * @brief Editable status (on/off).
+   *
+   * @return true if it can be edit, else false.
+   */
+  virtual bool IsEditable() const = 0;
+
+  /**
+   * @brief Change the editable status (on/off) .
+   *
+   * @param[in] editable The editable status.
+   */
+  virtual void SetEditable( bool editable ) = 0;
 };
 
 } // namespace Text