Revert "[Tizen] remove GetNativeWindowHandler() in devel window"
[platform/core/uifw/dali-adaptor.git] / adaptors / wayland / input-manager.h
index 26238d1..0fc0b1f 100644 (file)
 
 // EXTERNAL INCLUDES
 #include <dali/public-api/common/dali-vector.h>
-#include <dali/public-api/events/key-event.h>
 
 // INTERNAL INCLUDES
 #include <base/interfaces/window-event-interface.h>
 #include <wl-types.h>
 #include <input/input-interface.h>
 #include <input/seat.h>
+#include <input/text/text-input-manager.h>
+
 
 
 namespace Dali
@@ -63,11 +64,29 @@ public:
   void AssignWindowEventInterface( WindowEventInterface* eventInterface);
 
   /**
+   * @brief Assign the Wayland connection
+   * @param[in] display Wayland display
+   */
+  void AssignDisplay( WlDisplay* display );
+
+  /**
+   * @brief Assign the Wayland surface
+   * @param[in] surface wayland surface
+   */
+  void AssignSurface( WlSurface* surface);
+
+  /**
    * @brief listen to events on this seat
-   * @param seatInterface[in] output interface
+   * @param[in] seatInterface output interface
    */
   void AddSeatListener( Dali::WlSeat* seatInterface );
 
+  /**
+   * @brief add text input manager interface
+   * @param[in] textInputManager text input manager
+   */
+  void AddTextInputManager( Dali::WlTextInputManager* textInputManager );
+
 
 protected: //InputInterface, pointer events
 
@@ -198,6 +217,8 @@ public:
 private:
 
  Dali::Vector< Seat* > mSeats;
+ TextInputManager mTextInputManger;
+ WlDisplay* mDisplay;
  WindowEventInterface* mWindowEventInterface;
 
 };