X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fwayland%2Finput%2Ftext%2Fimf%2Fimf-manager-impl-wl.cpp;h=ab45e74187748aa0bc592786128787985b2600f3;hb=8387d40cf2c46e00afe0e295997b971b769fdea4;hp=db22b2f572a7fed1f1064760c879ddb1d205fb3d;hpb=3a65f02f2ff62bb3da51807066e4215d4d7f54d0;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp b/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp index db22b2f..ab45e74 100644 --- a/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp +++ b/adaptors/wayland/input/text/imf/imf-manager-impl-wl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ // INTERNAL INCLUDES #include #include - +#include namespace Dali { @@ -143,7 +143,7 @@ Dali::ImfManager ImfManager::Get() } else { - DALI_LOG_ERROR("Failed to get native window handle"); + DALI_LOG_ERROR("Failed to get native window handle\n"); } return manager; } @@ -240,7 +240,7 @@ void ImfManager::NotifyCursorPosition() void ImfManager::DeleteSurroundingText( int index, unsigned int length ) { - DALI_LOG_INFO( gLogFilter, Debug::General, "ImfManager::DeleteSurroundingText %d %d \n" index, length ); + DALI_LOG_INFO( gLogFilter, Debug::General, "ImfManager::DeleteSurroundingText %d %d \n", index, length ); Dali::ImfManager::ImfEventData imfData( Dali::ImfManager::DELETESURROUNDING, std::string(),index, length ); Dali::ImfManager handle( this ); @@ -303,6 +303,65 @@ const std::string& ImfManager::GetSurroundingText() const return mSurroundingText; } +void ImfManager::NotifyTextInputMultiLine( bool multiLine ) +{ +} + +Dali::Rect< int > ImfManager::GetInputMethodArea() +{ + TextInputManager::SeatInfo& info = mTextInputManager.GetLastActiveSeat(); + return info.mInputPanelDimensions; +} + +void ImfManager::ApplyOptions(const InputMethodOptions& options) +{ +} + +void ImfManager::SetInputPanelUserData( const std::string& data ) +{ +} + +void ImfManager::GetInputPanelUserData( std::string& data ) +{ +} + +Dali::ImfManager::State ImfManager::GetInputPanelState() +{ + return Dali::ImfManager::DEFAULT; +} + +void ImfManager::SetReturnKeyState( bool visible ) +{ +} + +void ImfManager::AutoEnableInputPanel( bool enabled ) +{ +} + +void ImfManager::ShowInputPanel() +{ +} + +void ImfManager::HideInputPanel() +{ +} + +Dali::ImfManager::KeyboardType ImfManager::GetKeyboardType() +{ + return Dali::ImfManager::KeyboardType::SOFTWARE_KEYBOARD; +} + +std::string ImfManager::GetInputPanelLocale() +{ + return NULL; +} + +Dali::ImfManager::TextDirection ImfManager::GetTextDirection() +{ + TextInputManager::SeatInfo& info = mTextInputManager.GetLastActiveSeat(); + return (Dali::ImfManager::TextDirection)info.mTextDirection; +} + } // Adaptor } // Internal