Revert "[Tizen] Add codes for Dali Windows Backend"
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / input-method-context.h
index 3c427c2..6775ef2 100755 (executable)
@@ -43,7 +43,7 @@ class InputMethodContext;
  * Specifically manages the ecore input method framework which enables the virtual or hardware keyboards.
  */
 
-class DALI_IMPORT_API InputMethodContext : public BaseHandle
+class DALI_ADAPTOR_API InputMethodContext : public BaseHandle
 {
 public:
 
@@ -399,6 +399,19 @@ public:
    */
   bool FilterEventKey( const Dali::KeyEvent& keyEvent );
 
+  /**
+   * @brief Sets whether the IM context should allow to use the text prediction.
+   *
+   * @param[in] prediction Whether to allow text prediction or not.
+   */
+  void AllowTextPrediction( bool prediction );
+
+  /**
+   * @brief Gets whether the IM context allow to use the text prediction.
+   *
+   * @return Whether the IM allow text prediction or not.
+   */
+  bool IsTextPredictionAllowed() const;
 public:
 
   // Signals