Merge "[Tizen] Add Finalize api for imf-manager" into tizen_4.0
[platform/core/uifw/dali-adaptor.git] / adaptors / ecore / wayland / imf-manager-impl.h
old mode 100644 (file)
new mode 100755 (executable)
index e3a73ad..3d2d451
@@ -53,6 +53,11 @@ public:
 public:
 
   /**
+   * @copydoc Dali::ImfManager::Finalize()
+   */
+  void Finalize();
+
+  /**
    * Check whether the ImfManager is available.
    * @return true if available, false otherwise
    */
@@ -283,9 +288,11 @@ private:
 
 private:
   Ecore_IMF_Context* mIMFContext;
+  Ecore_Wl_Window *mEcoreWlwin;
   int mIMFCursorPosition;
   std::string mSurroundingText;
 
+  bool mInited:1;                            ///< Whether the imf is already inited.
   bool mRestoreAfterFocusLost:1;             ///< Whether the keyboard needs to be restored (activated ) after focus regained.
   bool mIdleCallbackConnected:1;             ///< Whether the idle callback is already connected.