[3.0] build error fix : chaged wayland api of wl_text_input_set_surrounding_text() 84/74384/1 submit/tizen/20160614.071928
authordongsug.song <dongsug.song@samsung.com>
Tue, 14 Jun 2016 06:10:28 +0000 (15:10 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 14 Jun 2016 06:10:28 +0000 (15:10 +0900)
Change-Id: I0bbccd7afcafcf065161956d79ce391b80b87a41

adaptors/wayland/input/text/text-input-manager.cpp [changed mode: 0644->0755]
adaptors/wayland/input/text/text-input-manager.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 4e12d5d..e9a5fc7
@@ -373,11 +373,11 @@ void TextInputManager::Reset()
   wl_display_flush( mDisplay );
 }
 
-void TextInputManager::SetSurroundingText( std::string text, unsigned int cursor, unsigned int anchor )
+void TextInputManager::SetSurroundingText( uint32_t serial, std::string text, unsigned int cursor)
 {
   TextInputManager::SeatInfo& info = TextInputManager::Get().GetLastActiveSeat();
 
-  wl_text_input_set_surrounding_text( info.mSeat->GetTextInputInterface(), text.c_str(), cursor, anchor );
+  wl_text_input_set_surrounding_text( info.mSeat->GetTextInputInterface(), serial, text.c_str(), cursor);
 
   wl_display_flush( mDisplay );
 }
old mode 100644 (file)
new mode 100755 (executable)
index 7033471..baa7da4
@@ -220,13 +220,11 @@ public:
    * UTF-8 encoded. Cursor is the byte offset within the
    * surrounding text. Anchor is the byte offset of the
    * selection anchor within the surrounding text. If there is no selected
-   * text anchor is the same as cursor.
+   * @param[in] serial the serial
    * @param[in] text the text
    * @param[in] cursor cursor position
-   * @param[in] anchor anchor position
    */
-  void SetSurroundingText( std::string text, unsigned int cursor, unsigned int anchor );
-
+  void SetSurroundingText( uint32_t serial, std::string text, unsigned int cursor);
 
 
 public: // virtual keyboard signals