Revert "Revert "KeyEvent class pimpling""
[platform/core/uifw/dali-adaptor.git] / dali / public-api / adaptor-framework / window.h
index 8105e5d..f53e6d0 100644 (file)
@@ -56,8 +56,8 @@ class Orientation;
 class Actor;
 class Layer;
 class RenderTaskList;
-class TouchData;
-struct KeyEvent;
+class TouchEvent;
+class KeyEvent;
 
 /**
  * @brief The window class is used internally for drawing.
@@ -73,11 +73,10 @@ public:
   using WindowSize = Uint16Pair ;     ///< Window size type @SINCE_1_2.60
   using WindowPosition = Uint16Pair;  ///< Window position type @SINCE_1_2.60
 
-  using ResizedSignalType = Signal< void (WindowSize) >;       ///< @DEPRECATED_1_4.35 @brief Window resized signal type @SINCE_1_2.60
   using FocusChangeSignalType = Signal< void (Window,bool) >;  ///< Window focus signal type @SINCE_1_4.35
   using ResizeSignalType = Signal< void (Window,WindowSize) >; ///< Window resized signal type @SINCE_1_4.35
   using KeyEventSignalType = Signal< void (const KeyEvent&) >; ///< Key event signal type
-  using TouchSignalType = Signal< void (const TouchData&) >;   ///< Touch signal type
+  using TouchSignalType = Signal< void (const TouchEvent&) >;   ///< Touch signal type
 
 public:
 
@@ -618,20 +617,6 @@ public:
 public: // Signals
 
   /**
-   * @brief This signal is emitted when the window is resized.
-   *
-   * A callback of the following type may be connected:
-   * @code
-   *   void YourCallbackName( int width, int height );
-   * @endcode
-   * The parameters are the resized width and height.
-   *
-   * @SINCE_1_2.60
-   * @return The signal to connect to
-   */
-  ResizedSignalType& ResizedSignal() DALI_DEPRECATED_API;
-
-  /**
    * @brief The user should connect to this signal to get a timing when window gains focus or loses focus.
    *
    * A callback of the following type may be connected:
@@ -683,7 +668,7 @@ public: // Signals
    * An interrupted event will also be emitted (if it occurs).
    * A callback of the following type may be connected:
    * @code
-   *   void YourCallbackName(const TouchData& event);
+   *   void YourCallbackName(const TouchEvent& event);
    * @endcode
    *
    * @SINCE_1_9.21