X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Finput-method-context.h;h=be9c81e1fd7540584167af3e230026208f5bff8e;hb=c1bb1606717a5a831a0e7bdaca8b4eb86dc5a89e;hp=3c427c251a6ea0edcc8c3d50569e0e9902177f88;hpb=a3e217839cf5872bb487f9d1ccd07ca1a6edd172;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/input-method-context.h b/dali/devel-api/adaptor-framework/input-method-context.h index 3c427c2..be9c81e 100755 --- a/dali/devel-api/adaptor-framework/input-method-context.h +++ b/dali/devel-api/adaptor-framework/input-method-context.h @@ -42,8 +42,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 +398,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