Revert "[Tizen] Add Integration API to Create public event type"
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 7 Sep 2020 05:17:16 +0000 (14:17 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 7 Sep 2020 05:17:16 +0000 (14:17 +0900)
This reverts commit 4c44efc5196aa28e3943a51d1f9293a01c93b3a9.

dali/integration-api/events/key-event-integ.cpp
dali/integration-api/events/key-event-integ.h
dali/integration-api/events/touch-integ.cpp
dali/integration-api/events/touch-integ.h

index d314f4f..db7e1bc 100755 (executable)
@@ -87,18 +87,6 @@ KeyEvent::~KeyEvent()
 {
 }
 
-Dali::KeyEvent KeyEvent::Convert( const Dali::Integration::KeyEvent& event )
-{
-  Dali::KeyEvent keyEvent(event.keyName, event.keyString, event.keyCode, event.keyModifier, event.time, static_cast<Dali::KeyEvent::State>(event.state));
-  GetImplementation( &keyEvent )->SetLogicalKey( event.logicalKey );
-  GetImplementation( &keyEvent )->SetCompose( event.compose );
-  GetImplementation( &keyEvent )->SetDeviceName( event.deviceName );
-  GetImplementation( &keyEvent )->SetDeviceClass( event.deviceClass );
-  GetImplementation( &keyEvent )->SetDeviceSubclass( event.deviceSubclass );
-
-  return keyEvent;
-}
-
 } // namespace Integration
 
 } // namespace Dali
index 46873b4..4eadad7 100755 (executable)
@@ -90,14 +90,6 @@ struct DALI_CORE_API KeyEvent : public Event
    */
   virtual ~KeyEvent();
 
-  /**
-   * @brief Creates a Dali::KeyEvent from a Integration::KeyEvent
-   *
-   * @param[in] event Integration::KeyEvent to convert from
-   * @return The Dali::KeyEvent
-   */
-  static Dali::KeyEvent Convert( const Dali::Integration::KeyEvent& event );
-
   // Data
 
   /**
index 5ab1e04..978e9ed 100644 (file)
@@ -30,14 +30,6 @@ Dali::TouchEvent NewTouchEvent(uint32_t timestamp, const TouchPoint& point)
   return handle;
 }
 
-Dali::TouchEvent NewTouchEvent( uint32_t timeStamp, const Dali::Integration::Point& point )
-{
-  Internal::TouchEventPtr touchEventImpl( new Internal::TouchEvent( timeStamp ) );
-  touchEventImpl->AddPoint( point );
-  Dali::TouchEvent handle( touchEventImpl.Get() );
-  return handle;
-}
-
 } // namespace Integration
 
 } // namespace Dali
index d6f3d8b..4499472 100644 (file)
@@ -21,7 +21,6 @@
 #include <dali/public-api/common/dali-common.h>
 #include <dali/public-api/events/touch-event.h>
 #include <dali/public-api/events/touch-point.h>
-#include <dali/integration-api/events/point.h>
 
 namespace Dali
 {
@@ -38,15 +37,6 @@ namespace Integration
  */
 DALI_CORE_API Dali::TouchEvent NewTouchEvent(uint32_t timestamp, const TouchPoint& point);
 
-/**
- * Create a new touch data handle from timestamp and point.
- *
- * @param[in] timestamp The timestamp of the touch event.
- * @param[in] point The point on screen where the touch occurred.
- * @return A new touch data handle.
- */
-DALI_CORE_API Dali::TouchEvent NewTouchEvent( uint32_t timeStamp, const Dali::Integration::Point& point );
-
 } // namespace Integration
 
 } // namespace Dali