Refractor ImfManager to InputMethodContext
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / text-controls / text-editor-devel.cpp
old mode 100644 (file)
new mode 100755 (executable)
index e9292bf..875e270
@@ -1,3 +1,5 @@
+#ifndef DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H
+#define DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H
 
 /*
  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  */
 
-// CLASS HEADER
+// INTERNAL INCLUDES
 #include <dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h>
-
-// INTERNAL HEADER
 #include <dali-toolkit/internal/controls/text-controls/text-editor-impl.h>
 
 namespace Dali
@@ -31,13 +31,15 @@ namespace Toolkit
 namespace DevelTextEditor
 {
 
-ScrollStateChangedSignalType& ScrollStateChangedSignal( TextEditor textEditor )
+InputMethodContext GetInputMethodContext( TextEditor textEditor )
 {
-  return Dali::Toolkit::GetImpl( textEditor ).ScrollStateChangedSignal();
+  return GetImpl( textEditor ).GetInputMethodContext();
 }
 
-} // namespace DevelText
+} // namespace DevelTextEditor
 
 } // namespace Toolkit
 
 } // namespace Dali
+
+#endif // DALI_TOOLKIT_TEXT_EDITOR_DEVEL_H