Revert "[Tizen] remove GetNativeWindowHandler() in devel window"
[platform/core/uifw/dali-adaptor.git] / adaptors / wayland / input-manager.h
index 14df7ec..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
@@ -62,6 +63,30 @@ 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[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
 
@@ -192,6 +217,8 @@ public:
 private:
 
  Dali::Vector< Seat* > mSeats;
+ TextInputManager mTextInputManger;
+ WlDisplay* mDisplay;
  WindowEventInterface* mWindowEventInterface;
 
 };